From 9db96b7d13927640e03f760707b6f7aa044f1a13 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 10 Nov 2014 19:32:41 +0200 Subject: [PATCH] Fix an infinite recursion bug --- source/fs/dir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2