ui/common/properties.c

branch
newapi
changeset 378
d41b1ffc5f77
parent 254
13997c76859b
child 379
958bae372271
--- 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 <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);
 }
-

mercurial