summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2004-10-03 13:34:33 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2004-10-03 13:34:33 +0000
commit1c44e1f097d387fcce872f4b67c9996c050e83f9 (patch)
tree1aeefd98eb1b24f3c3901bbe25c2014d145a6daa /src/gui/gui.cpp
parent33a122be88b1d16f6a45060a0237d643877f4ae3 (diff)
downloadmana-1c44e1f097d387fcce872f4b67c9996c050e83f9.tar.gz
mana-1c44e1f097d387fcce872f4b67c9996c050e83f9.tar.bz2
mana-1c44e1f097d387fcce872f4b67c9996c050e83f9.tar.xz
mana-1c44e1f097d387fcce872f4b67c9996c050e83f9.zip
*** empty log message ***
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 10021020..18dcfb41 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -582,8 +582,10 @@ int tmw_slider_proc(int msg, DIALOG *d, int c) {
}
//textprintf(gui_bitmap, gui_font,10, 10, makecol(255,255,255), "%i", d->d2);
} else {
- ret = d_slider_proc(msg,d,c);
- }
+ if(d->d1==0)d->d1 = 1;
+ ret = d_slider_proc(msg,d,c);
+ }
+
if (watchdog == 1) {
d->dp2 = (void*)gui__external_slider_callback;
}