From a15006fe34930e897b63d53fbe4a3bd5dba20f57 Mon Sep 17 00:00:00 2001 From: Frank Richter Date: Mon, 29 Aug 2005 21:47:04 +0000 Subject: [PATCH] Make THEME_update_color_and_size static and drop THEME_ prefix. --- programs/winecfg/theme.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/winecfg/theme.c b/programs/winecfg/theme.c index dcad25b5b98..fa518ac9e90 100644 --- a/programs/winecfg/theme.c +++ b/programs/winecfg/theme.c @@ -327,8 +327,8 @@ static BOOL fill_theme_list (HWND comboTheme, HWND comboColor, HWND comboSize) /* Update the color & size combo boxes when the selection of the theme * combo changed. Selects the current color and size scheme if the theme * is currently active, otherwise the first color and size. */ -BOOL THEME_update_color_and_size (int themeIndex, HWND comboColor, - HWND comboSize) +static BOOL update_color_and_size (int themeIndex, HWND comboColor, + HWND comboSize) { if (themeIndex == 0) { @@ -437,7 +437,7 @@ static void init_dialog (HWND dialog) static void on_theme_changed(HWND dialog) { int index = SendMessageW (GetDlgItem (dialog, IDC_THEME_THEMECOMBO), CB_GETCURSEL, 0, 0); - if (!THEME_update_color_and_size (index, GetDlgItem (dialog, IDC_THEME_COLORCOMBO), + if (!update_color_and_size (index, GetDlgItem (dialog, IDC_THEME_COLORCOMBO), GetDlgItem (dialog, IDC_THEME_SIZECOMBO))) { SendMessageW (GetDlgItem (dialog, IDC_THEME_COLORCOMBO), CB_SETCURSEL, (WPARAM)-1, 0);