From: Mikko Rasa Date: Mon, 10 Nov 2014 17:32:41 +0000 (+0200) Subject: Fix an infinite recursion bug X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=9db96b7d13927640e03f760707b6f7aa044f1a13;p=libs%2Fcore.git Fix an infinite recursion bug --- diff --git a/source/fs/dir.cpp b/source/fs/dir.cpp index 00385e0..df85e35 100644 --- a/source/fs/dir.cpp +++ b/source/fs/dir.cpp @@ -141,7 +141,7 @@ Path get_user_data_dir() const string &name = Application::get_name(); if(name.empty()) throw logic_error("application name not known"); - return get_user_data_dir(); + return get_user_data_dir(name); } Path get_sys_conf_dir(const string &argv0)