summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFacialTurd <simon@hardwired.org.uk>2010-12-13 12:10:36 (GMT)
committer FacialTurd <simon@hardwired.org.uk>2010-12-13 12:10:36 (GMT)
commitcd8ec28e18d14c7eca0901df6bba2194f228378b (patch)
tree4a553b1a92c516ab4f162fcb35db990b719ed630 /src
parentdc25b3a8116353b84ea3267c78171d2b14624457 (diff)
downloadpowder-cd8ec28e18d14c7eca0901df6bba2194f228378b.zip
powder-cd8ec28e18d14c7eca0901df6bba2194f228378b.tar.gz
Added missing ui_edit->multiline to older textboxes to fix text edit bug.
Diffstat (limited to 'src')
-rw-r--r--src/interface.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c
index 1052a22..d531929 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -147,6 +147,7 @@ void add_sign_ui(pixel *vid_buf, int mx, int my)
ed.focus = 1;
ed.hide = 0;
ed.cursor = strlen(signs[i].text);
+ ed.multiline = 0;
strcpy(ed.str, signs[i].text);
ju = signs[i].ju;
@@ -763,6 +764,7 @@ void login_ui(pixel *vid_buf)
ed1.def = "[user name]";
ed1.focus = 1;
ed1.hide = 0;
+ ed1.multiline = 0;
ed1.cursor = strlen(svf_user);
strcpy(ed1.str, svf_user);
ed2.x = x0+25;
@@ -773,6 +775,7 @@ void login_ui(pixel *vid_buf)
ed2.focus = 0;
ed2.hide = 1;
ed2.cursor = 0;
+ ed2.multiline = 0;
strcpy(ed2.str, "");
fillrect(vid_buf, -1, -1, XRES, YRES+MENUSIZE, 0, 0, 0, 192);
@@ -1024,6 +1027,7 @@ void tag_list_ui(pixel *vid_buf)
ed.focus = 0;
ed.hide = 0;
ed.cursor = 0;
+ ed.multiline = 0;
strcpy(ed.str, "");
fillrect(vid_buf, -1, -1, XRES, YRES+MENUSIZE, 0, 0, 0, 192);