diff options
| author | Eli Zaretskii | 2011-07-14 20:43:50 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-07-14 20:43:50 +0300 |
| commit | df9733bf6bbaa86c4af08160a0eec218e8d3ef3b (patch) | |
| tree | 892490ff466c883c39de5d4702e0599af3a20d2e /src | |
| parent | d1583c48e5bee8a865a78fe1db71dc8c46b40422 (diff) | |
| download | emacs-df9733bf6bbaa86c4af08160a0eec218e8d3ef3b.tar.gz emacs-df9733bf6bbaa86c4af08160a0eec218e8d3ef3b.zip | |
Fix format conversion in bidi.c.
src/bidi.c (bidi_dump_cached_states): Fix format of displaying
bidi_cache_idx.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/bidi.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c2bd1981e76..8d37c524c84 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-07-14 Eli Zaretskii <eliz@gnu.org> | 1 | 2011-07-14 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * bidi.c (bidi_dump_cached_states): Fix format of displaying | ||
| 4 | bidi_cache_idx. | ||
| 5 | |||
| 3 | Support bidi reordering of display and overlay strings. | 6 | Support bidi reordering of display and overlay strings. |
| 4 | * xdisp.c (compute_display_string_pos) | 7 | * xdisp.c (compute_display_string_pos) |
| 5 | (compute_display_string_end): Accept additional argument STRING. | 8 | (compute_display_string_end): Accept additional argument STRING. |
diff --git a/src/bidi.c b/src/bidi.c index 77043d9236f..22a5f0829cd 100644 --- a/src/bidi.c +++ b/src/bidi.c | |||
| @@ -2308,7 +2308,7 @@ bidi_dump_cached_states (void) | |||
| 2308 | fprintf (stderr, "The cache is empty.\n"); | 2308 | fprintf (stderr, "The cache is empty.\n"); |
| 2309 | return; | 2309 | return; |
| 2310 | } | 2310 | } |
| 2311 | fprintf (stderr, "Total of %d state%s in cache:\n", | 2311 | fprintf (stderr, "Total of %"pD"d state%s in cache:\n", |
| 2312 | bidi_cache_idx, bidi_cache_idx == 1 ? "" : "s"); | 2312 | bidi_cache_idx, bidi_cache_idx == 1 ? "" : "s"); |
| 2313 | 2313 | ||
| 2314 | for (i = bidi_cache[bidi_cache_idx - 1].charpos; i > 0; i /= 10) | 2314 | for (i = bidi_cache[bidi_cache_idx - 1].charpos; i > 0; i /= 10) |