[Scummvm-cvs-logs] CVS: scummvm/queen talk.cpp,1.77,1.78

Gregory Montoir cyx at users.sourceforge.net
Sat Jan 10 12:00:01 CET 2004


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv27153/queen

Modified Files:
	talk.cpp 
Log Message:
removed some debug() calls

Index: talk.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/talk.cpp,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- talk.cpp	10 Jan 2004 19:55:54 -0000	1.77
+++ talk.cpp	10 Jan 2004 19:59:11 -0000	1.78
@@ -1231,8 +1231,6 @@
 
 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 @@
 			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;





More information about the Scummvm-git-logs mailing list