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
44f60067
Commit
44f60067
authored
Aug 01, 2013
by
Qian Hong
Committed by
Alexandre Julliard
Aug 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Fixed ImmUnlockIMC.
parent
0f14a77f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
imm.c
dlls/imm32/imm.c
+3
-2
imm32.c
dlls/imm32/tests/imm32.c
+2
-2
No files found.
dlls/imm32/imm.c
View file @
44f60067
...
...
@@ -2606,8 +2606,9 @@ LPINPUTCONTEXT WINAPI ImmLockIMC(HIMC hIMC)
BOOL
WINAPI
ImmUnlockIMC
(
HIMC
hIMC
)
{
InputContextData
*
data
=
hIMC
;
data
->
dwLock
--
;
return
(
data
->
dwLock
!=
0
);
if
(
data
->
dwLock
)
data
->
dwLock
--
;
return
TRUE
;
}
/***********************************************************************
...
...
dlls/imm32/tests/imm32.c
View file @
44f60067
...
...
@@ -702,13 +702,13 @@ static void test_ImmGetIMCLockCount(void)
count
=
ImmGetIMCLockCount
(
imc
);
ok
(
count
==
1
,
"expect 1, returned %d
\n
"
,
count
);
ret
=
ImmUnlockIMC
(
imc
);
todo_wine
ok
(
ret
==
TRUE
,
"expect TRUE, ret %d
\n
"
,
ret
);
ok
(
ret
==
TRUE
,
"expect TRUE, ret %d
\n
"
,
ret
);
count
=
ImmGetIMCLockCount
(
imc
);
ok
(
count
==
0
,
"expect 0, returned %d
\n
"
,
count
);
ret
=
ImmUnlockIMC
(
imc
);
ok
(
ret
==
TRUE
,
"expect TRUE, ret %d
\n
"
,
ret
);
count
=
ImmGetIMCLockCount
(
imc
);
todo_wine
ok
(
count
==
0
,
"expect 0, returned %d
\n
"
,
count
);
ok
(
count
==
0
,
"expect 0, returned %d
\n
"
,
count
);
ImmDestroyContext
(
imc
);
}
...
...
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