diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/kconfigini.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/kconfigini.cpp b/src/core/kconfigini.cpp index c7b36efd..39e59364 100644 --- a/src/core/kconfigini.cpp +++ b/src/core/kconfigini.cpp @@ -673,7 +673,7 @@ QByteArray KConfigIniBackend::stringToPrintable(const QByteArray &aString, Strin switch (s[i]) { default: // The \n, \t, \r cases (all < 32) are handled below; we can ignore them here - if (((unsigned char)s[i]) < 32) { + if (((unsigned char)s[i]) < 32 || ((unsigned char)s[i]) >= 127) { goto doEscape; } *data++ = s[i]; |