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
700910be
Commit
700910be
authored
Jun 06, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4bc36579
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
Makefile.in
dlls/imm32/Makefile.in
+2
-0
imm.c
dlls/imm32/imm.c
+3
-4
No files found.
dlls/imm32/Makefile.in
View file @
700910be
...
...
@@ -2,6 +2,8 @@ MODULE = imm32.dll
IMPORTLIB
=
imm32
IMPORTS
=
user32 gdi32 advapi32
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
imm.c
...
...
dlls/imm32/imm.c
View file @
700910be
...
...
@@ -33,7 +33,6 @@
#include "winnls.h"
#include "winreg.h"
#include "wine/list.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
imm
);
...
...
@@ -318,8 +317,8 @@ static HMODULE load_graphics_driver(void)
if
(
!
guid_atom
)
return
0
;
memcpy
(
key
,
key_pathW
,
sizeof
(
key_pathW
)
);
if
(
!
GlobalGetAtomNameW
(
guid_atom
,
key
+
strlenW
(
key
),
40
))
return
0
;
strcatW
(
key
,
displayW
);
if
(
!
GlobalGetAtomNameW
(
guid_atom
,
key
+
l
strlenW
(
key
),
40
))
return
0
;
l
strcatW
(
key
,
displayW
);
if
(
RegOpenKeyW
(
HKEY_LOCAL_MACHINE
,
key
,
&
hkey
))
return
0
;
size
=
sizeof
(
path
);
if
(
!
RegQueryValueExW
(
hkey
,
driverW
,
NULL
,
NULL
,
(
BYTE
*
)
path
,
&
size
))
ret
=
LoadLibraryW
(
path
);
...
...
@@ -1643,7 +1642,7 @@ static BOOL needs_ime_window(HWND hwnd)
{
WCHAR
classW
[
8
];
if
(
GetClassNameW
(
hwnd
,
classW
,
ARRAY_SIZE
(
classW
))
&&
!
strcmpW
(
classW
,
szwIME
))
if
(
GetClassNameW
(
hwnd
,
classW
,
ARRAY_SIZE
(
classW
))
&&
!
l
strcmpW
(
classW
,
szwIME
))
return
FALSE
;
if
(
GetClassLongPtrW
(
hwnd
,
GCL_STYLE
)
&
CS_IME
)
return
FALSE
;
...
...
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