author | tron |
Thu, 26 May 2005 19:41:58 +0000 | |
changeset 1860 | cc0019652d0e |
parent 1859 | b3af0081df39 |
child 1861 | 8b6f1d021317 |
misc_gui.c | file | annotate | diff | comparison | revisions |
--- a/misc_gui.c Thu May 26 16:31:32 2005 +0000 +++ b/misc_gui.c Thu May 26 19:41:58 2005 +0000 @@ -496,12 +496,8 @@ DeleteWindow(w); break; case WE_DESTROY: { - TileHighlightData *thd = _thd_ptr; - TileIndex tile = thd->redsq; - thd->redsq = 0; + SetRedErrorSquare(0); _switch_mode_errorstr = INVALID_STRING_ID; - if (tile != 0) - MarkTileDirtyByTile(tile); break; }