diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-08-16 20:24:39 +0200 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2021-08-17 11:13:24 +0200 |
commit | c9792a21add7beeb698ae43d71580e2943dac395 (patch) | |
tree | 2b16bbd88d0072d2cbd797a6f376d9ca45034cdf /src/preferences.cpp | |
parent | 2fe98299baff89c26b594704ea6baf6bd8336346 (diff) | |
download | qalculate-tde-c9792a21add7beeb698ae43d71580e2943dac395.tar.gz qalculate-tde-c9792a21add7beeb698ae43d71580e2943dac395.zip |
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/preferences.cpp')
-rw-r--r-- | src/preferences.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preferences.cpp b/src/preferences.cpp index e75ee66..c7d18f9 100644 --- a/src/preferences.cpp +++ b/src/preferences.cpp @@ -668,7 +668,7 @@ void save_preferences(bool mode) { filename += "qalculate-tde.cfg"; file = fopen(filename.c_str(), "w+"); if(file == NULL) { - fprintf(stderr, i18n("Couldn't write preferences to\n%s"), filename.c_str()); + fprintf(stderr, i18n("Couldn't write preferences to\n%s").local8Bit(), filename.c_str()); return; } fprintf(file, "\n[General]\n"); |