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
87c72332
Commit
87c72332
authored
Oct 16, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Use BOOL type where appropriate.
parent
682c89ce
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
drivedetect.c
programs/winecfg/drivedetect.c
+1
-1
main.c
programs/winecfg/main.c
+1
-1
theme.c
programs/winecfg/theme.c
+1
-1
winecfg.c
programs/winecfg/winecfg.c
+3
-3
winecfg.h
programs/winecfg/winecfg.h
+2
-2
x11drvdlg.c
programs/winecfg/x11drvdlg.c
+1
-1
No files found.
programs/winecfg/drivedetect.c
View file @
87c72332
...
...
@@ -302,7 +302,7 @@ static void ensure_drive_c_is_mapped(void)
HeapFree
(
GetProcessHeap
(),
0
,
drive_c_dir
);
}
int
autodetect_drives
(
void
)
BOOL
autodetect_drives
(
void
)
{
#ifdef HAVE_MNTENT_H
struct
mntent
*
ent
;
...
...
programs/winecfg/main.c
View file @
87c72332
...
...
@@ -244,7 +244,7 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrev, LPSTR szCmdLine, int nShow)
return
0
;
}
if
(
initialize
(
hInstance
)
!=
0
)
{
if
(
initialize
(
hInstance
))
{
WINE_ERR
(
"initialization failed, aborting
\n
"
);
ExitProcess
(
1
);
}
...
...
programs/winecfg/theme.c
View file @
87c72332
...
...
@@ -425,7 +425,7 @@ static void do_apply_theme (int themeIndex, int colorIndex, int sizeIndex)
}
}
static
int
updating_ui
;
static
BOOL
updating_ui
;
static
BOOL
theme_dirty
;
static
void
enable_size_and_color_controls
(
HWND
dialog
,
BOOL
enable
)
...
...
programs/winecfg/winecfg.c
View file @
87c72332
...
...
@@ -749,18 +749,18 @@ void PRINTERROR(void)
WINE_TRACE
(
"error: '%s'
\n
"
,
msg
);
}
int
initialize
(
HINSTANCE
hInstance
)
BOOL
initialize
(
HINSTANCE
hInstance
)
{
DWORD
res
=
RegCreateKeyA
(
HKEY_CURRENT_USER
,
WINE_KEY_ROOT
,
&
config_key
);
if
(
res
!=
ERROR_SUCCESS
)
{
WINE_ERR
(
"RegOpenKey failed on wine config key (%d)
\n
"
,
res
);
return
1
;
return
TRUE
;
}
/* we could probably just have the list as static data */
settings
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
struct
list
));
list_init
(
settings
);
return
0
;
return
FALSE
;
}
programs/winecfg/winecfg.h
View file @
87c72332
...
...
@@ -73,7 +73,7 @@ WCHAR* load_string (UINT id);
char
*
keypath
(
const
char
*
section
);
WCHAR
*
keypathW
(
const
WCHAR
*
section
);
int
initialize
(
HINSTANCE
hInstance
);
BOOL
initialize
(
HINSTANCE
hInstance
);
extern
HKEY
config_key
;
/* hack for the property sheet control */
...
...
@@ -91,7 +91,7 @@ INT_PTR CALLBACK AboutDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
/* Drive management */
BOOL
load_drives
(
void
);
int
autodetect_drives
(
void
);
BOOL
autodetect_drives
(
void
);
struct
drive
{
...
...
programs/winecfg/x11drvdlg.c
View file @
87c72332
...
...
@@ -55,7 +55,7 @@ static const WCHAR x11_driverW[] = {'X','1','1',' ','D','r','i','v','e','r',0};
static
const
WCHAR
default_resW
[]
=
{
'8'
,
'0'
,
'0'
,
'x'
,
'6'
,
'0'
,
'0'
,
0
};
int
updating_ui
;
static
BOOL
updating_ui
;
/* convert the x11 desktop key to the new explorer config */
static
void
convert_x11_desktop_key
(
void
)
...
...
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