summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-09-02 22:24:29 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-09-05 00:40:17 (GMT)
commit5892c745955fb3afeb69176a1233efb7eb3751b4 (patch)
tree0256dc1ccfb9add81a52ed56892842ed990d1bdc /src/interface.c
parent3d5d10b1edb25b8910427759acac1361aabd6555 (diff)
downloadpowder-5892c745955fb3afeb69176a1233efb7eb3751b4.zip
powder-5892c745955fb3afeb69176a1233efb7eb3751b4.tar.gz
Visual Studio fixes
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface.c b/src/interface.c
index 5f78eed..3370883 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -3322,9 +3322,9 @@ int open_ui(pixel *vid_buf, char *save_id, char *save_date)
ui_edit ed;
ui_copytext ctb;
- viewcountbuffer[0] = 0;
pixel *old_vid=(pixel *)calloc((XRES+BARSIZE)*(YRES+MENUSIZE), PIXELSIZE);
fillrect(vid_buf, -1, -1, XRES+BARSIZE, YRES+MENUSIZE, 0, 0, 0, 192);
+ viewcountbuffer[0] = 0;
fillrect(vid_buf, 50, 50, XRES+BARSIZE-100, YRES+MENUSIZE-100, 0, 0, 0, 255);
drawrect(vid_buf, 50, 50, XRES+BARSIZE-100, YRES+MENUSIZE-100, 255, 255, 255, 255);