diff src/fontset.c @ 25668:99290b59352d

(Ffont_info): Change for Lisp_Object selected_frame. (Ffontset_info): DItto.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 13 Sep 1999 11:13:31 +0000
parents a1e836728879
children d39ec0a27081
line wrap: on
line diff
--- a/src/fontset.c	Mon Sep 13 11:13:29 1999 +0000
+++ b/src/fontset.c	Mon Sep 13 11:13:31 1999 +0000
@@ -709,12 +709,9 @@
 
   CHECK_STRING (name, 0);
   if (NILP (frame))
-    f = selected_frame;
-  else
-    {
-      CHECK_LIVE_FRAME (frame, 1);
-      f = XFRAME (frame);
-    }
+    frame = selected_frame;
+  CHECK_LIVE_FRAME (frame, 1);
+  f = XFRAME (frame);
 
   if (!query_font_func)
     error ("Font query function is not supported");
@@ -761,12 +758,9 @@
 
   CHECK_STRING(name, 0);
   if (NILP (frame))
-    f = selected_frame;
-  else
-    {
-      CHECK_LIVE_FRAME (frame, 1);
-      f = XFRAME (frame);
-    }
+    frame = selected_frame;
+  CHECK_LIVE_FRAME (frame, 1);
+  f = XFRAME (frame);
 
   fontset = fs_query_fontset (f, XSTRING (name)->data);
   if (fontset < 0)