From 69671d3aef250c7f720c2a6568e3f38c5821a9b2 Mon Sep 17 00:00:00 2001 From: belugas Date: Fri, 1 Aug 2008 03:43:53 +0000 Subject: (svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage --- src/cheat_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cheat_gui.cpp') diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp index f42eadc54..c5d84a141 100644 --- a/src/cheat_gui.cpp +++ b/src/cheat_gui.cpp @@ -148,7 +148,7 @@ struct CheatWindow : Window { case SLE_BOOL: { bool on = (*(bool*)ce->variable); - DrawFrameRect(x + 20, y + 1, x + 30 + 9, y + 9, on ? 6 : 4, on ? FR_LOWERED : FR_NONE); + DrawFrameRect(x + 20, y + 1, x + 30 + 9, y + 9, on ? COLOUR_GREEN : COLOUR_RED, on ? FR_LOWERED : FR_NONE); SetDParam(0, on ? STR_CONFIG_PATCHES_ON : STR_CONFIG_PATCHES_OFF); } break; -- cgit v1.2.3-54-g00ecf