summaryrefslogtreecommitdiffhomepage
path: root/Stars45/EditBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/EditBox.cpp')
-rw-r--r--Stars45/EditBox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Stars45/EditBox.cpp b/Stars45/EditBox.cpp
index c2ed3a1..7102302 100644
--- a/Stars45/EditBox.cpp
+++ b/Stars45/EditBox.cpp
@@ -135,14 +135,14 @@ EditBox::DrawTabbedText()
if (style & WIN_TEXT_SHADOW) {
label_rect.x++;
label_rect.y++;
-
+
font->SetColor(back_color);
DrawText(s.data() + h_offset, 0, label_rect, text_flags);
-
+
label_rect.x--;
label_rect.y--;
}
-
+
font->SetColor(fore_color);
DrawText(s.data() + h_offset, 0, label_rect, text_flags);
}