]> git.stg.codes - stg.git/blobdiff - stglibs/common.lib/include/stg/common.h
Fixed stupid bug in case conversion functions.
[stg.git] / stglibs / common.lib / include / stg / common.h
index 3b1ea27541020c684d0e79ee88374d1dae704126..6c71289b1efc9bcd5814d52f59e40fc03bf8df8b 100644 (file)
@@ -155,7 +155,7 @@ int str2x(const std::string & str, varT & x)
         x += str[i] - '0';
     }
 
-    x*= minus;
+    x *= minus;
 
     return 0;
 }