summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-23 14:36:51 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-23 14:36:51 +0000
commit3a9ae4770fcfec80c660fd9351ecea8c3c9bc913 (patch)
tree2f084acc77ac30724641fda88989fbb003b352e0 /src/gui/gui.cpp
parentdb4fd250723ad6121059a71f1cac0e87eb91e695 (diff)
downloadmana-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.tar.gz
mana-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.tar.bz2
mana-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.tar.xz
mana-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.zip
Skinned our beautiful text field back!
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index ced9758b..714f114f 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -728,7 +728,6 @@ int tmw_radio_proc(int msg, DIALOG *d, int c) {
}
int tmw_edit_proc(int msg, DIALOG *d, int c) {
-// BITMAP *box = NULL;
int x;
int tx, ty, l;
int rtm = 0;
@@ -769,7 +768,7 @@ int tmw_edit_proc(int msg, DIALOG *d, int c) {
cr=gui_bitmap->w;
cb=gui_bitmap->h;
}
- set_clip_rect(gui_bitmap, tx, ty, d->x+d->w-rb, ty + text_height(font)); // set_clip() is deprecated use set_clip_rect() instead
+ set_clip_rect(gui_bitmap, tx, ty, d->x+d->w-rb, ty + text_height(font));
hack = text[d->d2];
text[d->d2] = '\0';
l = text_length(font, text);