diff -r 3a60db9ebb5d -r d41b1ffc5f77 ui/common/properties.c --- a/ui/common/properties.c Sun Nov 10 10:16:47 2024 +0100 +++ b/ui/common/properties.c Sun Nov 10 15:27:44 2024 +0100 @@ -32,6 +32,9 @@ #include #include +#include "../ui/toolkit.h" + + #include "properties.h" #include #include @@ -48,11 +51,12 @@ #endif -char* ui_getappdir() { + +char* ui_getappdir(void) { if(ui_appname() == NULL) { return NULL; } - + return ui_configfile(NULL); } @@ -296,4 +300,3 @@ } return cxMapGet(language, name); } -