projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49a73c2
)
(win_filter): Try to convert arg to key only when
author
handa
<handa>
Thu, 5 Jan 2006 11:35:48 +0000
(11:35 +0000)
committer
handa
<handa>
Thu, 5 Jan 2006 11:35:48 +0000
(11:35 +0000)
arg is not NULL.
src/input-gui.c
patch
|
blob
|
history
diff --git
a/src/input-gui.c
b/src/input-gui.c
index
4406713
..
69b5842
100644
(file)
--- a/
src/input-gui.c
+++ b/
src/input-gui.c
@@
-158,10
+158,8
@@
win_filter (MInputContext *ic, MSymbol key, void *arg)
|| ! ic->active)
return 0;
- if (key == Mnil)
+ if (key == Mnil && arg)
{
- if (! arg)
- return 0;
key = minput_event_to_key (win_ic_info->frame, arg);
if (key == Mnil)
return 1;