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 00f25f7e911..cfa5f7d5027 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1308,7 +1308,7 @@ candidate_frame (Lisp_Object candidate, Lisp_Object frame, Lisp_Object minibuf)
1308 FRAME_FOCUS_FRAME (c))) 1308 FRAME_FOCUS_FRAME (c)))
1309 return candidate; 1309 return candidate;
1310 } 1310 }
1311 else if (XFASTINT (minibuf) == 0) 1311 else if (INTEGERP (minibuf) && XINT (minibuf) == 0)
1312 { 1312 {
1313 if (FRAME_VISIBLE_P (c) || FRAME_ICONIFIED_P (c)) 1313 if (FRAME_VISIBLE_P (c) || FRAME_ICONIFIED_P (c))
1314 return candidate; 1314 return candidate;