summaryrefslogtreecommitdiff
path: root/package/config/kxgettext.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/config/kxgettext.c')
-rw-r--r--package/config/kxgettext.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/config/kxgettext.c b/package/config/kxgettext.c
index 6eb72a7f2..8d9ce22b0 100644
--- a/package/config/kxgettext.c
+++ b/package/config/kxgettext.c
@@ -43,6 +43,10 @@ static char *escape(const char* text, char *bf, int len)
++text;
goto next;
}
+ else if (*text == '\\') {
+ *bfp++ = '\\';
+ len--;
+ }
*bfp++ = *text++;
next:
--len;