wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/utils wmlxgettext


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth/utils wmlxgettext
Date: Sun, 03 Oct 2004 17:45:46 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    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;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]