diff options
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/FbString.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/FbString.cc b/src/FbTk/FbString.cc index c767a30..6614ec4 100644 --- a/src/FbTk/FbString.cc +++ b/src/FbTk/FbString.cc | |||
@@ -79,7 +79,7 @@ void init() { | |||
79 | string locale = setlocale(LC_CTYPE, NULL); | 79 | string locale = setlocale(LC_CTYPE, NULL); |
80 | size_t pos = locale.find('.'); | 80 | size_t pos = locale.find('.'); |
81 | if (pos != string::npos) | 81 | if (pos != string::npos) |
82 | locale_codeset = locale.substr(pos); | 82 | locale_codeset = locale.substr(pos+1); |
83 | #endif // CODESET | 83 | #endif // CODESET |
84 | 84 | ||
85 | #ifdef DEBUG | 85 | #ifdef DEBUG |