]> git.eshelyaron.com Git - emacs.git/commitdiff
* xfns.c (check_x_display_info): Don't use XINT for terminal object.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Mon, 20 May 2013 03:09:22 +0000 (12:09 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Mon, 20 May 2013 03:09:22 +0000 (12:09 +0900)
src/ChangeLog
src/xfns.c

index e1f7a56aede52e2414034d574a5b085c643d0492..186f7812f44b8b6f4762627d6fe52c84b71e1090 100644 (file)
@@ -1,3 +1,7 @@
+2013-05-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * xfns.c (check_x_display_info): Don't use XINT for terminal object.
+
 2013-05-18  Paul Eggert  <eggert@cs.ucla.edu>
 
        Port --enable-gcc-warnings to clang.
index 46cd10e5f2f901455b02f2ba87e7a3907f04f03c..a61d2de590570b2444e526570f421d65edc21995 100644 (file)
@@ -169,7 +169,7 @@ check_x_display_info (Lisp_Object object)
       struct terminal *t = get_terminal (object, 1);
 
       if (t->type != output_x_window)
-        error ("Terminal %"pI"d is not an X display", XINT (object));
+        error ("Terminal %d is not an X display", t->id);
 
       dpyinfo = t->display_info.x;
     }