mail[Wesnoth-commits] r33969 - /trunk/src/formula_function.cpp


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

Header


Content

Posted by koraq on March 21, 2009 - 16:23:
Author: mordante
Date: Sat Mar 21 16:23:03 2009
New Revision: 33969

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33969&view=rev
Log:
Use tabs instead of spaces for indention.

Modified:
    trunk/src/formula_function.cpp

Modified: trunk/src/formula_function.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/formula_function.cpp?rev=33969&r1=33968&r2=33969&view=diff
==============================================================================
--- trunk/src/formula_function.cpp (original)
+++ trunk/src/formula_function.cpp Sat Mar 21 16:23:03 2009
@@ -464,9 +464,9 @@
                for(str_it = str.begin(); str_it != str.end() - 
(key.size()-1); ++str_it)
                {
                        key_it = key.begin();
-                        if((key_it) == key.end()) {
-                                return variant(1);
-                        }
+                       if((key_it) == key.end()) {
+                               return variant(1);
+                       }
                        tmp_it = str_it;
 
                        while( *tmp_it == *key_it)
@@ -656,9 +656,9 @@
                const variant items = args()[0]->evaluate(variables);
                variant_iterator it = items.get_iterator();
                it = items.begin();
-                if(it == items.end()) {
-                        return variant();
-                }
+               if(it == items.end()) {
+                       return variant();
+               }
                return *it;
        }
 };




Related Messages


Powered by MHonArc, Updated Sat Mar 21 16:40:29 2009