Bug#533600: Patch
Peter Krefting
peter at softwolves.pp.se
Fri Jun 19 08:36:39 UTC 2009
This patch seems to fix the problem. It leaves a double backslash in the
editor, but if I unquote the double backslash in the parser, the file writer
will change all "\n"s to "\\n", which is unfortunate.
diff -ru gtranslator-1.1.7.unmodified/src/parse.c gtranslator-1.1.7/src/parse.c
--- gtranslator-1.1.7.unmodified/src/parse.c 2005-08-11 18:17:09.000000000 +0100
+++ gtranslator-1.1.7/src/parse.c 2009-06-19 09:33:07.000000000 +0100
@@ -107,6 +107,10 @@
case '\"':
s++;
break;
+ case '\\':
+ to_add[d++] = tail[s];
+ s++;
+ break;
}
}
to_add[d++] = tail[s];
--
\\// Peter - http://www.softwolves.pp.se/
More information about the pkg-gnome-maintainers
mailing list