diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
commit | 24c4d5b06d231785db01500360c26815d8fe4d15 (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/engine_gui.cpp | |
parent | 36bb92ae241403d61dc7a3e5a1696b615be61395 (diff) | |
download | openttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/engine_gui.cpp')
-rw-r--r-- | src/engine_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine_gui.cpp b/src/engine_gui.cpp index c63515826..6426f724e 100644 --- a/src/engine_gui.cpp +++ b/src/engine_gui.cpp @@ -48,10 +48,10 @@ static const Widget _engine_preview_widgets[] = { typedef void DrawEngineProc(int x, int y, EngineID engine, SpriteID pal); typedef void DrawEngineInfoProc(EngineID, int x, int y, int maxw); -typedef struct DrawEngineInfo { +struct DrawEngineInfo { DrawEngineProc *engine_proc; DrawEngineInfoProc *info_proc; -} DrawEngineInfo; +}; static void DrawTrainEngineInfo(EngineID engine, int x, int y, int maxw); static void DrawRoadVehEngineInfo(EngineID engine, int x, int y, int maxw); |