(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL.
This commit is contained in:
@@ -1040,7 +1040,8 @@ static void QueryStringWndProc(Window *w, WindowEvent *e)
|
||||
Window *parent = w->parent;
|
||||
|
||||
qs->handled = true;
|
||||
e.event = WE_ON_EDIT_TEXT_CANCEL;
|
||||
e.event = WE_ON_EDIT_TEXT;
|
||||
e.we.edittext.str = NULL;
|
||||
parent->HandleWindowEvent(&e);
|
||||
}
|
||||
ClrBit(_no_scroll, SCROLL_EDIT);
|
||||
|
Reference in New Issue
Block a user