mail[Wesnoth-commits] r33970 - /branches/1.6/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:26:
Author: mordante
Date: Sat Mar 21 16:26:37 2009
New Revision: 33970

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

Modified:
    branches/1.6/src/formula_function.cpp

Modified: branches/1.6/src/formula_function.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.6/src/formula_function.cpp?rev=33970&r1=33969&r2=33970&view=diff
==============================================================================
--- branches/1.6/src/formula_function.cpp (original)
+++ branches/1.6/src/formula_function.cpp Sat Mar 21 16:26:37 2009
@@ -430,9 +430,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)
@@ -622,9 +622,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 17:20:28 2009