summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/textfield.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets/textfield.cpp')
-rw-r--r--src/guichan/widgets/textfield.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/widgets/textfield.cpp b/src/guichan/widgets/textfield.cpp
index 5434d341c..7a2bde46e 100644
--- a/src/guichan/widgets/textfield.cpp
+++ b/src/guichan/widgets/textfield.cpp
@@ -102,7 +102,7 @@ namespace gcn
// drawn a border).
const Rectangle clipArea = graphics->getCurrentClipArea();
- graphics->setColor(getForegroundColor());
+ graphics->setColor(mForegroundColor);
graphics->drawLine(x, clipArea.height - 2, x, 1);
}