From bd08a3b607b2007c0328ef539c66808e73d851ed Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 4 Dec 2010 18:48:46 +0000 Subject: [PATCH] Fixes to Open_UI: Comment is cleared after being submitted, Mouse click in comment box no longer exists Open_UI --- src/interface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/interface.c b/src/interface.c index 6f16541d4..06af84377 100644 --- a/src/interface.c +++ b/src/interface.c @@ -2824,9 +2824,10 @@ int open_ui(pixel *vid_buf, char *save_id, char *save_date) fillrect(vid_buf, -1, -1, XRES+BARSIZE, YRES+MENUSIZE, 0, 0, 0, 192); info_box(vid_buf, "Submitting Comment..."); execute_submit(vid_buf, save_id, ed.str); + ed.str[0] = 0; } } - if(!(mx>50 && my>50 && mx50 && my>50 && mx