Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a15006fe
Commit
a15006fe
authored
Aug 29, 2005
by
Frank Richter
Committed by
Alexandre Julliard
Aug 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make THEME_update_color_and_size static and drop THEME_ prefix.
parent
44d6e39c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
theme.c
programs/winecfg/theme.c
+3
-3
No files found.
programs/winecfg/theme.c
View file @
a15006fe
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment