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
ba5f2055
Commit
ba5f2055
authored
May 26, 2008
by
Vitaliy Margolen
Committed by
Alexandre Julliard
May 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Use memmove for possibly overlapping memory areas.
parent
dca07aa8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ime.c
dlls/winex11.drv/ime.c
+1
-1
No files found.
dlls/winex11.drv/ime.c
View file @
ba5f2055
...
...
@@ -535,7 +535,7 @@ static BOOL IME_RemoveFromSelected(HIMC hIMC)
if
(
hSelectedFrom
[
i
]
==
hIMC
)
{
if
(
i
<
hSelectedCount
-
1
)
mem
cpy
(
&
hSelectedFrom
[
i
],
&
hSelectedFrom
[
i
+
1
],
(
hSelectedCount
-
i
-
1
)
*
sizeof
(
HIMC
));
mem
move
(
&
hSelectedFrom
[
i
],
&
hSelectedFrom
[
i
+
1
],
(
hSelectedCount
-
i
-
1
)
*
sizeof
(
HIMC
));
hSelectedCount
--
;
return
TRUE
;
}
...
...
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