From df93843c18f044fcac42b326dc60a386fbabe8db Mon Sep 17 00:00:00 2001 From: Yves Rizoud Date: Wed, 6 May 2009 21:13:46 +0000 Subject: [PATCH] Really fixed the Secondary palette issue, where clicking the RGB slider prints the new setting over mouse cursor. (Mentioned in r782 but I missed the piece of code) git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@784 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- palette.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/palette.c b/palette.c index 16bc542f..d3cfbefb 100644 --- a/palette.c +++ b/palette.c @@ -2221,10 +2221,10 @@ void Button_Secondary_palette(void) break; case 7: // RGB scale slider - Hide_cursor(); Num2str(256-Window_attribute2,str,3); - Display_cursor(); + Hide_cursor(); Print_in_window(157,78,str,MC_Black,MC_Light); + Display_cursor(); break; case 8: // Vertical switch