(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:
@@ -516,8 +516,9 @@ static void NewGRFWndProc(Window *w, WindowEvent *e)
|
||||
|
||||
/* parse_intlist returns -1 on error */
|
||||
if (c->num_params == (byte)-1) c->num_params = 0;
|
||||
|
||||
w->SetDirty();
|
||||
}
|
||||
w->SetDirty();
|
||||
break;
|
||||
|
||||
case WE_DESTROY:
|
||||
|
Reference in New Issue
Block a user