aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/macgui/mactextwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp
index 4edc924c02..8f1c293af9 100644
--- a/graphics/macgui/mactextwindow.cpp
+++ b/graphics/macgui/mactextwindow.cpp
@@ -190,7 +190,7 @@ void MacTextWindow::drawSelection() {
end = MIN((int)getInnerDimensions().height(), end);
int numLines = 0;
- int x1, x2;
+ int x1 = 0, x2 = 0;
for (int y = start; y < end; y++) {
if (!numLines) {