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
db1c43c3
Commit
db1c43c3
authored
Jun 21, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fallback to English in MessageBoxIndirect if the specified language is not supported.
parent
fa2444ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
msgbox.c
dlls/user32/msgbox.c
+5
-1
No files found.
dlls/user32/msgbox.c
View file @
db1c43c3
...
@@ -512,7 +512,11 @@ INT WINAPI MessageBoxIndirectW( LPMSGBOXPARAMSW msgbox )
...
@@ -512,7 +512,11 @@ INT WINAPI MessageBoxIndirectW( LPMSGBOXPARAMSW msgbox )
if
(
!
(
hRes
=
FindResourceExW
(
user32_module
,
(
LPWSTR
)
RT_DIALOG
,
if
(
!
(
hRes
=
FindResourceExW
(
user32_module
,
(
LPWSTR
)
RT_DIALOG
,
msg_box_res_nameW
,
msgbox
->
dwLanguageId
)))
msg_box_res_nameW
,
msgbox
->
dwLanguageId
)))
return
0
;
{
if
(
!
msgbox
->
dwLanguageId
||
!
(
hRes
=
FindResourceExW
(
user32_module
,
(
LPWSTR
)
RT_DIALOG
,
msg_box_res_nameW
,
LANG_NEUTRAL
)))
return
0
;
}
if
(
!
(
tmplate
=
LoadResource
(
user32_module
,
hRes
)))
if
(
!
(
tmplate
=
LoadResource
(
user32_module
,
hRes
)))
return
0
;
return
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