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
14da5bfb
Commit
14da5bfb
authored
Jun 20, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Suppress all message boxes if ShowCrashDialog is disabled.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
91c1fc2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
crashdlg.c
programs/winedbg/crashdlg.c
+11
-6
No files found.
programs/winedbg/crashdlg.c
View file @
14da5bfb
...
...
@@ -34,13 +34,18 @@
static
char
*
crash_log
;
int
msgbox_res_id
(
HWND
hwnd
,
UINT
text
Id
,
UINT
captionId
,
UINT
uT
ype
)
int
msgbox_res_id
(
HWND
hwnd
,
UINT
text
id
,
UINT
captionid
,
UINT
t
ype
)
{
WCHAR
caption
[
256
];
WCHAR
text
[
256
];
LoadStringW
(
GetModuleHandleW
(
NULL
),
captionId
,
caption
,
ARRAY_SIZE
(
caption
));
LoadStringW
(
GetModuleHandleW
(
NULL
),
textId
,
text
,
ARRAY_SIZE
(
text
));
return
MessageBoxW
(
hwnd
,
text
,
caption
,
uType
);
if
(
DBG_IVAR
(
ShowCrashDialog
))
{
WCHAR
caption
[
256
];
WCHAR
text
[
256
];
LoadStringW
(
GetModuleHandleW
(
NULL
),
captionid
,
caption
,
ARRAY_SIZE
(
caption
));
LoadStringW
(
GetModuleHandleW
(
NULL
),
textid
,
text
,
ARRAY_SIZE
(
text
));
return
MessageBoxW
(
hwnd
,
text
,
caption
,
type
);
}
return
IDCANCEL
;
}
static
WCHAR
*
get_program_name
(
HANDLE
hProcess
)
...
...
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