(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:
rubidium
2008-05-10 08:58:52 +00:00
parent 8ebfbc2bd3
commit 2c96ce4506
12 changed files with 32 additions and 21 deletions

View File

@@ -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: