SCI: fix printObject, so it does not output some spaces to terminal in case its supposed to output to debug console

svn-id: r47772
This commit is contained in:
Martin Kiewitz 2010-01-31 18:49:59 +00:00
parent 420569626c
commit e44620a0df

View File

@ -2976,7 +2976,7 @@ int Console::printObject(reg_t pos) {
var_container = s->_segMan->getObject(obj->getSuperClassSelector());
DebugPrintf(" -- member variables:\n");
for (i = 0; (uint)i < obj->getVarCount(); i++) {
printf(" ");
DebugPrintf(" ");
if (i < var_container->getVarCount()) {
uint16 varSelector = var_container->getVarSelector(i);
DebugPrintf("[%03x] %s = ", varSelector, selector_name(s, varSelector));