diff src/engine_gui.cpp @ 10499:45ca88a8de7d draft

(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
author rubidium <rubidium@openttd.org>
date Sun, 28 Dec 2008 14:37:19 +0000 (2008-12-28)
parents 4b2c65748b47
children 2a462cb6c227
line wrap: on
line diff
--- a/src/engine_gui.cpp
+++ b/src/engine_gui.cpp
@@ -91,7 +91,7 @@
 	{
 		switch (widget) {
 			case 4:
-				DoCommandP(0, this->window_number, 0, NULL, CMD_WANT_ENGINE_PREVIEW);
+				DoCommandP(0, this->window_number, 0, CMD_WANT_ENGINE_PREVIEW);
 				/* Fallthrough */
 			case 3:
 				delete this;