diff options
author | TingPing <tngpng@gmail.com> | 2013-06-09 14:10:55 -0700 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-06-09 14:10:55 -0700 |
commit | 8ce1a9476d07c38317b6f2d3fd5245174f76211a (patch) | |
tree | 597610d638d49b9c2557742ed0d17a91b303c8d6 /src/common/cfgfiles.h | |
parent | 0689b54827d82ff6eae01d396285cad3eb647b02 (diff) | |
parent | 88e96114441463ecb6945c2a9869c5aedeeb66fb (diff) |
Merge pull request #640 from orium/default-language
Default language
Diffstat (limited to 'src/common/cfgfiles.h')
-rw-r--r-- | src/common/cfgfiles.h | 4 |
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 |