Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d7ca73ce
Commit
d7ca73ce
authored
Sep 23, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Sep 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix testing zero-valued expression with bitwise and in find_best_locale_proc.
The check should be for all of the flags being set instead.
parent
ed9cd3ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
locale.c
dlls/msvcrt/locale.c
+2
-1
No files found.
dlls/msvcrt/locale.c
View file @
d7ca73ce
...
...
@@ -189,7 +189,8 @@ find_best_locale_proc(HMODULE hModule, LPCSTR type, LPCSTR name, WORD LangID, LO
res
->
match_flags
=
flags
;
res
->
found_lang_id
=
LangID
;
}
if
(
flags
&
(
FOUND_LANGUAGE
&
FOUND_COUNTRY
&
FOUND_CODEPAGE
))
if
((
flags
&
(
FOUND_LANGUAGE
|
FOUND_COUNTRY
|
FOUND_CODEPAGE
))
==
(
FOUND_LANGUAGE
|
FOUND_COUNTRY
|
FOUND_CODEPAGE
))
{
TRACE
(
":found exact locale match
\n
"
);
return
STOP_LOOKING
;
...
...
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