diff options
author | rubidium <rubidium@openttd.org> | 2008-05-18 20:40:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-18 20:40:30 +0000 |
commit | 6da56ee87ed7131b0c8e47d8924e5305ea8c0dd2 (patch) | |
tree | 41abfe9b87f469f713f101ff0e28d4bcf1c50545 /src/misc_gui.cpp | |
parent | 9aa69db2e6352bf81df189c70ba2719bbdc38c31 (diff) | |
download | openttd-6da56ee87ed7131b0c8e47d8924e5305ea8c0dd2.tar.xz |
(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 3eb985d9f..d2d306af9 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -352,7 +352,7 @@ private: public: ErrmsgWindow(Point pt, int width, int height, StringID msg1, StringID msg2, const Widget *widget, bool show_player_face) : - Window(pt.x, pt.y, width, height, NULL, WC_ERRMSG, widget), + Window(pt.x, pt.y, width, height, WC_ERRMSG, widget), show_player_face(show_player_face) { this->duration = _patches.errmsg_duration; @@ -532,7 +532,7 @@ struct TooltipsWindow : public Window TooltipsWindow(int x, int y, int width, int height, const Widget *widget, StringID str, uint paramcount, const uint64 params[]) : - Window(x, y, width, height, NULL, WC_TOOLTIPS, widget) + Window(x, y, width, height, WC_TOOLTIPS, widget) { this->string_id = str; assert(sizeof(this->params[0]) == sizeof(params[0])); |