From 3c8be58fbc4ff85fb1284dace7994d998f1ea145 Mon Sep 17 00:00:00 2001 From: dasbidyendu <143386290+dasbidyendu@users.noreply.github.com> Date: Wed, 9 Apr 2025 11:32:52 +0530 Subject: [PATCH] JANITORIAL: Fix comment indentation --- graphics/macgui/mactext-canvas.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/graphics/macgui/mactext-canvas.cpp b/graphics/macgui/mactext-canvas.cpp index efa80284bbf..e2db3499cde 100644 --- a/graphics/macgui/mactext-canvas.cpp +++ b/graphics/macgui/mactext-canvas.cpp @@ -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]; }