projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a1062d
)
Fix (next-frame nil t) crash (Bug#24281)
author
Martin Rudalics
<rudalics@gmx.at>
Mon, 22 Aug 2016 06:33:48 +0000
(08:33 +0200)
committer
Martin Rudalics
<rudalics@gmx.at>
Mon, 22 Aug 2016 06:33:48 +0000
(08:33 +0200)
* src/frame.c (candidate_frame): Check minibuf argument before
comparing it to zero (Bug#24281).
src/frame.c
patch
|
blob
|
history
diff --git
a/src/frame.c
b/src/frame.c
index e17c8acfc3cda14e9702ea40755f526ba04129c3..2dbbb37289b98a6446a5793638a047437f45a784 100644
(file)
--- a/
src/frame.c
+++ b/
src/frame.c
@@
-1310,7
+1310,7
@@
candidate_frame (Lisp_Object candidate, Lisp_Object frame, Lisp_Object minibuf)
FRAME_FOCUS_FRAME (c)))
return candidate;
}
- else if (
XFAST
INT (minibuf) == 0)
+ else if (
INTEGERP (minibuf) && X
INT (minibuf) == 0)
{
if (FRAME_VISIBLE_P (c) || FRAME_ICONIFIED_P (c))
return candidate;