diff options
| author | Matthias Melcher <github@matthiasm.com> | 2022-12-22 00:18:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-22 00:18:01 +0100 |
| commit | d98c6638938b09934889b5c639a56d4dea10a6fb (patch) | |
| tree | 58bd129f6e21535a483e995ac3325264c8ec1347 /fluid/code.cxx | |
| parent | 1d212b7a0394fb72e76b3e713e2aa949cea4d612 (diff) | |
Fix compilation on old gcc (#606)
* Fixing char* use in FLUID
* Fixing const cast
Diffstat (limited to 'fluid/code.cxx')
| -rw-r--r-- | fluid/code.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/code.cxx b/fluid/code.cxx index 52625b8e7..5cc02a241 100644 --- a/fluid/code.cxx +++ b/fluid/code.cxx @@ -612,7 +612,7 @@ int write_code(const char *s, const char *t) { write_c("// Initialize I18N stuff now for menus...\n"); write_c("#%sinclude <locale.h>\n", indent()); write_c("static char *_locale = setlocale(LC_MESSAGES, \"\");\n"); - write_c("static nl_catd _catalog = catopen(\"%s\", 0);\n", P.i18n_program); + write_c("static nl_catd _catalog = catopen(\"%s\", 0);\n", P.i18n_program.value()); } } if (conditional) { |
