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
a9bb2a55
Commit
a9bb2a55
authored
Jul 15, 2003
by
Huw D M Davies
Committed by
Alexandre Julliard
Jul 15, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the return buffer larger (for example EuroSign in uft8 is 3+1
bytes long).
parent
efe81255
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
keyboard.c
dlls/x11drv/keyboard.c
+3
-3
No files found.
dlls/x11drv/keyboard.c
View file @
a9bb2a55
...
@@ -1757,7 +1757,7 @@ INT X11DRV_ToUnicode(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
...
@@ -1757,7 +1757,7 @@ INT X11DRV_ToUnicode(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
KeySym
keysym
;
KeySym
keysym
;
INT
ret
;
INT
ret
;
int
keyc
;
int
keyc
;
char
lpChar
[
2
];
char
lpChar
[
10
];
HWND
focus
;
HWND
focus
;
XIC
xic
;
XIC
xic
;
...
@@ -1834,9 +1834,9 @@ INT X11DRV_ToUnicode(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
...
@@ -1834,9 +1834,9 @@ INT X11DRV_ToUnicode(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
else
TRACE
(
"Found keycode %d (0x%2X)
\n
"
,
e
.
keycode
,
e
.
keycode
);
else
TRACE
(
"Found keycode %d (0x%2X)
\n
"
,
e
.
keycode
,
e
.
keycode
);
if
(
xic
)
if
(
xic
)
ret
=
XmbLookupString
(
xic
,
&
e
,
lpChar
,
2
,
&
keysym
,
NULL
);
ret
=
XmbLookupString
(
xic
,
&
e
,
lpChar
,
sizeof
(
lpChar
)
,
&
keysym
,
NULL
);
else
else
ret
=
XLookupString
(
&
e
,
lpChar
,
2
,
&
keysym
,
NULL
);
ret
=
XLookupString
(
&
e
,
lpChar
,
sizeof
(
lpChar
)
,
&
keysym
,
NULL
);
wine_tsx11_unlock
();
wine_tsx11_unlock
();
if
(
ret
==
0
)
if
(
ret
==
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