--- a/ui/common/properties.c Sun Nov 10 09:12:30 2024 +0100 +++ b/ui/common/properties.c Sun Nov 10 15:30:46 2024 +0100 @@ -32,6 +32,9 @@ #include <sys/stat.h> #include <errno.h> +#include "../ui/toolkit.h" + + #include "properties.h" #include <cx/string.h> #include <cx/buffer.h> @@ -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); } -