diff options
| author | jacob1 <jfu614@gmail.com> | 2012-08-08 14:46:58 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-08-09 20:28:57 (GMT) |
| commit | e100aa56a7ad1ca173ba6ceadea995b19f317f33 (patch) | |
| tree | bb86a7354ab2769c4b4160f91167433765a1f8b1 /src/interface.c | |
| parent | cfd1ad6abb71dfcb573815c485f10673d7f08516 (diff) | |
| download | powder-e100aa56a7ad1ca173ba6ceadea995b19f317f33.zip powder-e100aa56a7ad1ca173ba6ceadea995b19f317f33.tar.gz | |
Fix the PROP interface bug from inside of list_process too
Diffstat (limited to 'src/interface.c')
| -rw-r--r-- | src/interface.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interface.c b/src/interface.c index a297405..a33f272 100644 --- a/src/interface.c +++ b/src/interface.c @@ -532,14 +532,15 @@ void ui_list_process(pixel * vid_buf, int mx, int my, int mb, ui_list *ed) } draw_line(vid_buf, ed->x, ystart + i * 16, ed->x+ed->w, ystart + i * 16, 128, 128, 128, XRES+BARSIZE); } - if(!selected && mb) - break; drawrect(vid_buf, ed->x, ystart, ed->w, ed->count*16, 255, 255, 255, 255); #ifdef OGLR clearScreen(1.0f); #endif sdl_blit(0, 0, (XRES+BARSIZE), YRES+MENUSIZE, vid_buf, (XRES+BARSIZE)); clearrect(vid_buf, ed->x-2, ystart-2, ed->w+4, (ed->count*16)+4); + + if(!selected && mb) + break; } while (!sdl_poll()) { |
