diff options
author | rubidium <rubidium@openttd.org> | 2008-05-10 08:58:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-10 08:58:52 +0000 |
commit | 2c96ce4506163ad1528db6a4340964af99fc1de2 (patch) | |
tree | 746df1921c03a63762ea8a5c0a05a16d672c34fe /src/newgrf_gui.cpp | |
parent | 8ebfbc2bd3c8a74693057ac4c38844d1f50e3995 (diff) | |
download | openttd-2c96ce4506163ad1528db6a4340964af99fc1de2.tar.xz |
(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index dca4db5f1..64548cf66 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -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: |