summaryrefslogtreecommitdiffhomepage
path: root/src/lingot-defs.h
diff options
context:
space:
mode:
authorpp <pp@455248ca-bdda-0310-9134-f4ebb693071a>2008-03-12 15:28:21 +0000
committerPiotr Pawlow <pp@siedziba.pl>2014-03-13 21:14:08 +0100
commitf35a6831dcc444ab1fbbd6410176b049de5ae3a7 (patch)
tree1d962bb252e458faccdb1edfaf2761f9f9eec246 /src/lingot-defs.h
parentf82f56dd6106959f6f3bb693df664bb66e4cd070 (diff)
- configuration directory on WIN32 is "lingot" instead of ".lingot"
- store configuration directory in APPDATA on WIN32 - mkdir() on WIN32 takes only 1 argument - get translations from "share/locale" on WIN32, which is consistent with GTK, and makes distributing easier (does not require installation) git-svn-id: https://lampka.siedziba.pl:790/svn/repos/lingot-win32@294 455248ca-bdda-0310-9134-f4ebb693071a
Diffstat (limited to 'src/lingot-defs.h')
-rw-r--r--src/lingot-defs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lingot-defs.h b/src/lingot-defs.h
index a3b077c..d66d265 100644
--- a/src/lingot-defs.h
+++ b/src/lingot-defs.h
@@ -32,7 +32,12 @@
#define SAMPLE_TYPE int16_t
#define SAMPLE_FORMAT AFMT_S16_LE
+#ifdef __WIN32__
+#define CONFIG_DIR_NAME "lingot/"
+#else
#define CONFIG_DIR_NAME ".lingot/"
+#endif
+
#define DEFAULT_CONFIG_FILE_NAME "lingot.conf"
extern char CONFIG_FILE_NAME[];