projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Portability fixes (bug 131640), revised patch from TheWrittenWord.com
[platform/core/uifw/at-spi2-atk.git]
/
registryd
/
deviceeventcontroller.c
diff --git
a/registryd/deviceeventcontroller.c
b/registryd/deviceeventcontroller.c
index
5c41371
..
9f1255b
100644
(file)
--- a/
registryd/deviceeventcontroller.c
+++ b/
registryd/deviceeventcontroller.c
@@
-1376,7
+1376,7
@@
spi_keystroke_from_x_key_event (XKeyEvent *x_key_event)
Accessibility_DeviceEvent key_event;
KeySym keysym;
const int cbuf_bytes = 20;
- char cbuf [
cbuf_bytes+
1];
+ char cbuf [
2
1];
int nbytes;
nbytes = XLookupString (x_key_event, cbuf, cbuf_bytes, &keysym, NULL);