aboutsummaryrefslogtreecommitdiff
path: root/gui/debugger.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2015-08-30 06:49:16 +0200
committerTorbjörn Andersson2015-08-30 06:49:16 +0200
commit3430757bf44fa53ef12f5dd10f80a5fea83cc39c (patch)
tree03f4002185c70c2ffdab04485061d55cb2c358a9 /gui/debugger.cpp
parentce2ba7ddc75cddaba4db04987e39cf681f19d8ae (diff)
downloadscummvm-rg350-3430757bf44fa53ef12f5dd10f80a5fea83cc39c.tar.gz
scummvm-rg350-3430757bf44fa53ef12f5dd10f80a5fea83cc39c.tar.bz2
scummvm-rg350-3430757bf44fa53ef12f5dd10f80a5fea83cc39c.zip
DEBUGGER: Add clarifying comment
Diffstat (limited to 'gui/debugger.cpp')
-rw-r--r--gui/debugger.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/debugger.cpp b/gui/debugger.cpp
index 209a787be8..c9b435963d 100644
--- a/gui/debugger.cpp
+++ b/gui/debugger.cpp
@@ -132,7 +132,8 @@ void Debugger::debugPrintColumns(const Common::StringArray &list) {
if (list.size() % columns)
lines++;
-
+ // This won't always use all available columns, but even if it did the
+ // number of lines should be the same so that's good enough.
for (i = 0; i < lines; i++) {
for (j = 0; j < columns; j++) {
uint pos = i + j * lines;