mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
JANITORIAL: Fix comment indentation
This commit is contained in:
committed by
Eugene Sandulenko
parent
6b7e566818
commit
3c8be58fbc
@@ -68,7 +68,7 @@ void MacTextCanvas::chopChunk(const Common::U32String &str, int *curLinePtr, int
|
||||
return;
|
||||
}
|
||||
|
||||
// If maxWidth is not restricted (-1 means possibly invalid width), just append and return
|
||||
// If maxWidth is not restricted (-1 means possibly invalid width), just append and return
|
||||
if (maxWidth == -1) {
|
||||
chunk->text += str;
|
||||
|
||||
@@ -91,7 +91,7 @@ void MacTextCanvas::chopChunk(const Common::U32String &str, int *curLinePtr, int
|
||||
D(5, "chopChunk: too narrow width, >%d", maxWidth);
|
||||
|
||||
if (w < maxWidth) {
|
||||
chunk->text += str; //Only append if within bounds
|
||||
chunk->text += str; // Only append if within bounds
|
||||
}
|
||||
|
||||
getLineCharWidth(curLine, true);
|
||||
@@ -105,7 +105,7 @@ void MacTextCanvas::chopChunk(const Common::U32String &str, int *curLinePtr, int
|
||||
|
||||
chunk->text += text[0];
|
||||
|
||||
//Ensure line continuations is valid before accesing index 0
|
||||
// Ensure line continuations is valid before accesing index 0
|
||||
if (!lineContinuations.empty()) {
|
||||
_text[curLine].wordContinuation = lineContinuations[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user