CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Yann Dirson <[EMAIL PROTECTED]> 04/10/03 21:38:48
Modified files:
utils : wmlxgettext
Log message:
better handling of trailing spaces in magic unit attributes
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/utils/wmlxgettext.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
Patches:
Index: wesnoth/utils/wmlxgettext
diff -u wesnoth/utils/wmlxgettext:1.4 wesnoth/utils/wmlxgettext:1.5
--- wesnoth/utils/wmlxgettext:1.4 Sun Sep 5 16:23:22 2004
+++ wesnoth/utils/wmlxgettext Sun Oct 3 21:38:48 2004
@@ -57,7 +57,7 @@
# part of multi-line
$str .= $_;
- } elsif (m/(\S+)\s*=\s*(.*)$/) {
+ } elsif (m/(\S+)\s*=\s*(.*?)\s*$/) {
# single-line non-quoted string
die "nested string in $file" if defined $str;