mail[Wesnoth-commits] r44684 - /trunk/src/builder.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by alinktomine on July 25, 2010 - 20:16:
Author: alink
Date: Sun Jul 25 20:16:19 2010
New Revision: 44684

URL: http://svn.gna.org/viewcvs/wesnoth?rev=44684&view=rev
Log:
Fix typo in r44004 breaking image path modidification.

Modified:
    trunk/src/builder.cpp

Modified: trunk/src/builder.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/builder.cpp?rev=44684&r1=44683&r2=44684&view=diff
==============================================================================
--- trunk/src/builder.cpp (original)
+++ trunk/src/builder.cpp Sun Jul 25 20:16:19 2010
@@ -338,7 +338,7 @@
                                        if(!image_exists(filename))
                                                return false;
 
-                                       const std::string modif = (has_tilde 
? str.substr(1,tilde) : "");
+                                       const std::string modif = (has_tilde 
? str.substr(tilde+1) : "");
 
                                        int time = 100;
                                        if(items.size() > 1) {




Related Messages


Powered by MHonArc, Updated Mon Jul 26 01:40:13 2010