Changeset - r390:b35e66409d03
[Not reviewed]
master
0 1 0
tron - 20 years ago 2004-11-14 09:31:39
tron@openttd.org
(svn r582) -Fix: [ 1034318 ] place sign and blue message box
A name change wasn't possible while an always-on-top window (like news) has been visible
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
misc_gui.c
Show inline comments
 
@@ -802,9 +802,13 @@ press_ok:;
 
			if (str_eq(WP(w,querystr_d).buf, WP(w,querystr_d).buf + MAX_QUERYSTR_LEN)) {
 
				DeleteWindow(w);
 
			} else {
 
				Window *parent = FindWindowById(WP(w,querystr_d).wnd_class, WP(w,querystr_d).wnd_num);
 
				byte *buf = WP(w,querystr_d).buf;
 
				WindowClass wnd_class = WP(w,querystr_d).wnd_class;
 
				WindowNumber wnd_num = WP(w,querystr_d).wnd_num;
 
				Window *parent;
 

	
 
				DeleteWindow(w);
 
				parent = FindWindowById(wnd_class, wnd_num);
 
				if (parent != NULL) {
 
					WindowEvent e;
 
					e.event = WE_ON_EDIT_TEXT;
0 comments (0 inline, 0 general)