aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/scriptables/script_value.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-27 19:07:00 +0200
committerEinar Johan Trøan Sømåen2012-07-27 19:07:00 +0200
commit99d4c55e88712a0b0dc0d97e4c9c52946a5f48f2 (patch)
tree09c4b8143e636203cbcd36626811c358e9471f4f /engines/wintermute/base/scriptables/script_value.cpp
parenta4e2fb4504f0a7ba42521f7cd4c95c997adf96f4 (diff)
downloadscummvm-rg350-99d4c55e88712a0b0dc0d97e4c9c52946a5f48f2.tar.gz
scummvm-rg350-99d4c55e88712a0b0dc0d97e4c9c52946a5f48f2.tar.bz2
scummvm-rg350-99d4c55e88712a0b0dc0d97e4c9c52946a5f48f2.zip
WINTERMUTE: Remove all unneccessary #if 0 blocks
Diffstat (limited to 'engines/wintermute/base/scriptables/script_value.cpp')
-rw-r--r--engines/wintermute/base/scriptables/script_value.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/wintermute/base/scriptables/script_value.cpp b/engines/wintermute/base/scriptables/script_value.cpp
index 01cb4044ff..9b83daf42f 100644
--- a/engines/wintermute/base/scriptables/script_value.cpp
+++ b/engines/wintermute/base/scriptables/script_value.cpp
@@ -166,11 +166,7 @@ ScValue *ScValue::getProp(const char *name) {
if (_type == VAL_STRING && strcmp(name, "Length") == 0) {
_gameRef->_scValue->_type = VAL_INT;
-#if 0 // TODO: Remove FreeType-dependency
if (_gameRef->_textEncoding == TEXT_ANSI) {
-#else
- if (true) {
-#endif
_gameRef->_scValue->setInt(strlen(_valString));
} else {
WideString wstr = StringUtil::utf8ToWide(_valString);