DEBUGGER: Add clarifying comment

This commit is contained in:
Torbjörn Andersson 2015-08-30 06:49:16 +02:00
parent ce2ba7ddc7
commit 3430757bf4

View File

@ -132,7 +132,8 @@ void Debugger::debugPrintColumns(const Common::StringArray &list) {
if (list.size() % columns) if (list.size() % columns)
lines++; 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 (i = 0; i < lines; i++) {
for (j = 0; j < columns; j++) { for (j = 0; j < columns; j++) {
uint pos = i + j * lines; uint pos = i + j * lines;