1 Feb 2005 02:24
amiconn: tools genlang,1.17,1.18
<cvs <at> labb.contactor.se>
2005-02-01 01:24:00 GMT
2005-02-01 01:24:00 GMT
Update of /cvsroot/rockbox/tools
In directory labb:/tmp/cvs-serv14045/tools
Modified Files:
genlang
Log Message:
Bug fix: The trailing null byte wasn't added when there was whitespace after the closing quote in the .lang
file, leading to garbled strings when doing non-english builds. Thanks to quelsaruk for tracking this down.
Index: genlang
===================================================================
RCS file: /cvsroot/rockbox/tools/genlang,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- genlang 31 Jan 2005 00:34:32 -0000 1.17
+++ genlang 1 Feb 2005 01:23:58 -0000 1.18
<at> <at> -91,7 +91,7 <at> <at>
}
else {
push <at> hfile, $set{'id'};
- $value =~ s/\"$/\\0\"/;
+ $value =~ s/^\"(.*)\"\W*$/\"$1\\0\"/;
print CFILE " $value\n";
}
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs
(Continue reading)
RSS Feed