summary refs log tree commit diff stats
path: root/src/common/cfgfiles.h
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-06-09 14:10:55 -0700
committerTingPing <tngpng@gmail.com>2013-06-09 14:10:55 -0700
commit8ce1a9476d07c38317b6f2d3fd5245174f76211a (patch)
tree597610d638d49b9c2557742ed0d17a91b303c8d6 /src/common/cfgfiles.h
parent0689b54827d82ff6eae01d396285cad3eb647b02 (diff)
parent88e96114441463ecb6945c2a9869c5aedeeb66fb (diff)
Merge pull request #640 from orium/default-language
Default language
Diffstat (limited to 'src/common/cfgfiles.h')
-rw-r--r--src/common/cfgfiles.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/cfgfiles.h b/src/common/cfgfiles.h
index 3a59d26d..83db9656 100644
--- a/src/common/cfgfiles.h
+++ b/src/common/cfgfiles.h
@@ -24,7 +24,10 @@
 
 #include "hexchat.h"
 
+#define LANGUAGES_LENGTH 52
+
 extern char *xdir;
+extern const char const *languages[LANGUAGES_LENGTH];
 
 char *cfg_get_str (char *cfg, const char *var, char *dest, int dest_len);
 int cfg_get_bool (char *var);
@@ -47,6 +50,7 @@ void list_addentry (GSList ** list, char *cmd, char *name);
 int cmd_set (session *sess, char *tbuf, char *word[], char *word_eol[]);
 int hexchat_open_file (char *file, int flags, int mode, int xof_flags);
 FILE *hexchat_fopen_file (const char *file, const char *mode, int xof_flags);
+
 #define XOF_DOMODE 1
 #define XOF_FULLPATH 2