aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c
index e17c8acfc3c..2dbbb37289b 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1310,7 +1310,7 @@ candidate_frame (Lisp_Object candidate, Lisp_Object frame, Lisp_Object minibuf)
1310 FRAME_FOCUS_FRAME (c))) 1310 FRAME_FOCUS_FRAME (c)))
1311 return candidate; 1311 return candidate;
1312 } 1312 }
1313 else if (XFASTINT (minibuf) == 0) 1313 else if (INTEGERP (minibuf) && XINT (minibuf) == 0)
1314 { 1314 {
1315 if (FRAME_VISIBLE_P (c) || FRAME_ICONIFIED_P (c)) 1315 if (FRAME_VISIBLE_P (c) || FRAME_ICONIFIED_P (c))
1316 return candidate; 1316 return candidate;