Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG.
authorGerd Moellmann <gerd@gnu.org>
Thu, 28 Dec 2000 10:08:46 +0000 (10:08 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 28 Dec 2000 10:08:46 +0000 (10:08 +0000)
src/ChangeLog
src/dispnew.c

index b6070d0..13000ca 100644 (file)
@@ -1,3 +1,7 @@
+2000-12-28  Gerd Moellmann  <gerd@gnu.org>
+
+       * dispnew.c: Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG.
+
 2000-12-28  Kenichi Handa  <handa@etl.go.jp>
 
        * ccl.c (CCL_WRITE_CHAR): Check variable `extra_bytes'.
@@ -19,7 +23,7 @@
        decode_composition_emacs_mule.
        (ENCODE_COMPOSITION_EMACS_MULE): New macro.
        (encode_coding_emacs_mule): Changed from macro to function.  If
-       a text contains compostions, encode them correctly.
+       a text contains compositions, encode them correctly.
        (setup_coding_system): Set coding->commong_flags for emacs-mule so
        that decoding and encoding are required.
 
index 87e7f68..ed512a0 100644 (file)
@@ -1304,7 +1304,7 @@ assign_row (to, from)
    is non-zero if the glyph memory of WINDOW_ROW is part of the glyph
    memory of FRAME_ROW.  */
 
-#ifdef GLYPH_DEBUG
+#if GLYPH_DEBUG
 
 static int
 glyph_row_slice_p (window_row, frame_row)
@@ -3773,7 +3773,7 @@ update_frame (f, force_p, inhibit_hairy_id_p)
       fflush (stdout);
 
       /* Check window matrices for lost pointers.  */
-#ifdef GLYPH_DEBUG
+#if GLYPH_DEBUG
       check_window_matrix_pointers (root_window);
       add_frame_display_history (f, paused_p);
 #endif
@@ -4094,7 +4094,7 @@ update_window (w, force_p)
   else
     paused_p = 1;
 
-#ifdef GLYPH_DEBUG
+#if GLYPH_DEBUG
   add_window_display_history (w, w->current_matrix->method, paused_p);
 #endif
   
@@ -6482,7 +6482,7 @@ syms_of_display ()
   defsubr (&Sinternal_show_cursor);
   defsubr (&Sinternal_show_cursor_p);
 
-#ifdef GLYPH_DEBUG
+#if GLYPH_DEBUG
   defsubr (&Sdump_redisplay_history);
 #endif