aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Montoir2004-01-10 19:59:11 +0000
committerGregory Montoir2004-01-10 19:59:11 +0000
commit40651928dc7fdd71bd25edd1110ac26b30102132 (patch)
tree6d1b79450f806071808a9ce265a003d1816d9429
parent615e0df8da215eebb85de1064e2d7a44a38ffb3e (diff)
downloadscummvm-rg350-40651928dc7fdd71bd25edd1110ac26b30102132.tar.gz
scummvm-rg350-40651928dc7fdd71bd25edd1110ac26b30102132.tar.bz2
scummvm-rg350-40651928dc7fdd71bd25edd1110ac26b30102132.zip
removed some debug() calls
svn-id: r12307
-rw-r--r--queen/talk.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp
index b7852bc18a..2818068a12 100644
--- a/queen/talk.cpp
+++ b/queen/talk.cpp
@@ -1231,8 +1231,6 @@ TalkSelected *Talk::talkSelected() {
int Talk::splitOption(const char *str, char optionText[5][MAX_STRING_SIZE]) {
-// debug(0, "splitOption(\"%s\") width=%d", str, _vm->display()->textWidth(str));
-
// Check to see if option fits on one line, and exit early
if (_vm->resource()->getLanguage() == ENGLISH ||
@@ -1254,19 +1252,15 @@ int Talk::splitOption(const char *str, char optionText[5][MAX_STRING_SIZE]) {
width += _vm->display()->textWidth(str, len);
if (width > maxTextLen) {
strncat(optionText[optionLines], str, len - 1);
-//debug(0, "1optionLines=%d optionText='%s'", optionLines, optionText[optionLines]);
++optionLines;
width = 0;
maxTextLen = MAX_TEXT_WIDTH - 16; // compensate left margin
} else {
strncat(optionText[optionLines], str, len);
-//debug(0,"2optionLines=%d optionText='%s' width=%d", optionLines, optionText[optionLines], width);
}
-//debug(0, "3str=%s p+1=%s", str, p+1);
str = p + 1;
}
}
-//debug(0, "str='%s'", str);
width += _vm->display()->textWidth(str);
if (width > maxTextLen) {
++optionLines;