aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeParser.h
diff options
context:
space:
mode:
authorVicent Marti2008-06-28 00:02:54 +0000
committerVicent Marti2008-06-28 00:02:54 +0000
commit3f0f7fa08bea272fa61b0fde5d7783aa44b1ff25 (patch)
tree4f9f5520000b96bfa8a6e3d32727ac8248befacf /gui/ThemeParser.h
parent8d696760b37e1dd36191a7403d44d4de105bd7de (diff)
downloadscummvm-rg350-3f0f7fa08bea272fa61b0fde5d7783aa44b1ff25.tar.gz
scummvm-rg350-3f0f7fa08bea272fa61b0fde5d7783aa44b1ff25.tar.bz2
scummvm-rg350-3f0f7fa08bea272fa61b0fde5d7783aa44b1ff25.zip
Improved support for parsing integers in the XML parser.
Bug fixes. svn-id: r32818
Diffstat (limited to 'gui/ThemeParser.h')
-rw-r--r--gui/ThemeParser.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/gui/ThemeParser.h b/gui/ThemeParser.h
index 2a7e0999d5..55f39d8a44 100644
--- a/gui/ThemeParser.h
+++ b/gui/ThemeParser.h
@@ -325,25 +325,6 @@ protected:
bool parserCallback_renderInfo();
bool parserCallback_layoutInfo();
bool parserCallback_defaultSet();
-
-
- bool validateKeyIntSigned(const char *key) {
- if (!isdigit(*key) && *key != '+' && *key != '-')
- return false;
-
- return validateKeyInt(key + 1);
- }
-
- bool validateKeyInt(const char *key) {
- if (*key == 0)
- return false;
-
- while (*key)
- if (!isdigit(*key++))
- return false;
-
- return true;
- }
Graphics::DrawStep *newDrawStep();
Graphics::DrawStep *defaultDrawStep();