summaryrefslogtreecommitdiff
path: root/src/cat/TPTScriptInterface.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-05-04 13:42:23 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-05-04 13:42:23 (GMT)
commitcab667001dd1944cae646349430b969912c0b157 (patch)
tree53a425ae892e4f7f643822abdf1bb26449a443a0 /src/cat/TPTScriptInterface.cpp
parentdd0f5f5efb4f108c2ce329a2ceabc7d8fa2b63f8 (diff)
parent630216c2531545c232edb45d3054c903c2c205c4 (diff)
downloadpowder-cab667001dd1944cae646349430b969912c0b157.zip
powder-cab667001dd1944cae646349430b969912c0b157.tar.gz
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
Diffstat (limited to 'src/cat/TPTScriptInterface.cpp')
-rw-r--r--src/cat/TPTScriptInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cat/TPTScriptInterface.cpp b/src/cat/TPTScriptInterface.cpp
index bf08f1e..43bb67b 100644
--- a/src/cat/TPTScriptInterface.cpp
+++ b/src/cat/TPTScriptInterface.cpp
@@ -137,7 +137,7 @@ int TPTScriptInterface::parseNumber(char * stringData)
if(cc >= '0' && cc <= '9')
currentNumber += cc - '0';
else if(cc >= 'a' && cc <= 'f')
- currentNumber += (cc - 'A') + 10;
+ currentNumber += (cc - 'a') + 10;
else if(cc >= 'A' && cc <= 'F')
currentNumber += (cc - 'A') + 10;
else