emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105210: Fix format conversion in bid


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105210: Fix format conversion in bidi.c.
Date: Thu, 14 Jul 2011 20:43:50 +0300
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105210
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Thu 2011-07-14 20:43:50 +0300
message:
  Fix format conversion in bidi.c.
  
   src/bidi.c (bidi_dump_cached_states): Fix format of displaying
   bidi_cache_idx.
modified:
  src/ChangeLog
  src/bidi.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-07-14 17:28:42 +0000
+++ b/src/ChangeLog     2011-07-14 17:43:50 +0000
@@ -1,5 +1,8 @@
 2011-07-14  Eli Zaretskii  <address@hidden>
 
+       * bidi.c (bidi_dump_cached_states): Fix format of displaying
+       bidi_cache_idx.
+
        Support bidi reordering of display and overlay strings.
        * xdisp.c (compute_display_string_pos)
        (compute_display_string_end): Accept additional argument STRING.

=== modified file 'src/bidi.c'
--- a/src/bidi.c        2011-07-14 17:28:42 +0000
+++ b/src/bidi.c        2011-07-14 17:43:50 +0000
@@ -2308,7 +2308,7 @@
       fprintf (stderr, "The cache is empty.\n");
       return;
     }
-  fprintf (stderr, "Total of %d state%s in cache:\n",
+  fprintf (stderr, "Total of  %"pD"d state%s in cache:\n",
           bidi_cache_idx, bidi_cache_idx == 1 ? "" : "s");
 
   for (i = bidi_cache[bidi_cache_idx - 1].charpos; i > 0; i /= 10)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]