diff options
Diffstat (limited to 'src/xwidget.c')
| -rw-r--r-- | src/xwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xwidget.c b/src/xwidget.c index d1f9540e11f..62df6657e9f 100644 --- a/src/xwidget.c +++ b/src/xwidget.c | |||
| @@ -711,7 +711,7 @@ argument procedure FUN.*/) | |||
| 711 | { | 711 | { |
| 712 | WEBKIT_FN_INIT (); | 712 | WEBKIT_FN_INIT (); |
| 713 | CHECK_STRING (script); | 713 | CHECK_STRING (script); |
| 714 | if (!NILP (fun) && (!FUNCTIONP (fun))) | 714 | if (!NILP (fun) && !FUNCTIONP (fun)) |
| 715 | wrong_type_argument (Qinvalid_function, fun); | 715 | wrong_type_argument (Qinvalid_function, fun); |
| 716 | 716 | ||
| 717 | void *callback = (FUNCTIONP (fun)) ? | 717 | void *callback = (FUNCTIONP (fun)) ? |