From f6821908cca74d580e9d99a31522b878471653dd Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 19 Nov 2009 14:57:15 +0000 Subject: [PATCH] Now jstandard_theme::regen does not use ji_get_theme --- src/jinete/themes/jstandard_theme.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/jinete/themes/jstandard_theme.cpp b/src/jinete/themes/jstandard_theme.cpp index 5ab093f92..10e657a4a 100644 --- a/src/jinete/themes/jstandard_theme.cpp +++ b/src/jinete/themes/jstandard_theme.cpp @@ -176,12 +176,11 @@ jstandard_theme::~jstandard_theme() void jstandard_theme::regen() { - JTheme theme = ji_get_theme(); int c, cmap[8], mask_cmap[2]; - theme->desktop_color = COLOR_DISABLED; - theme->textbox_fg_color = COLOR_FOREGROUND; - theme->textbox_bg_color = COLOR_BACKGROUND; + this->desktop_color = COLOR_DISABLED; + this->textbox_fg_color = COLOR_FOREGROUND; + this->textbox_bg_color = COLOR_BACKGROUND; /* fixup cursors */