changeset 9164 | 18e971e0b44f |
parent 9143 | 029e126e3439 |
child 9253 | fb3bf727fc75 |
--- a/src/timetable_gui.cpp Sat May 10 02:59:52 2008 +0000 +++ b/src/timetable_gui.cpp Sat May 10 08:58:52 2008 +0000 @@ -249,6 +249,8 @@ } break; case WE_ON_EDIT_TEXT: { + if (we->we.edittext.str == NULL) break; + const Vehicle *v = GetVehicle(w->window_number); uint32 p1 = PackTimetableArgs(v, WP(w, timetable_d).sel);