aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-02-02 11:51:06 +0000
committerGerd Moellmann2001-02-02 11:51:06 +0000
commit7eee47cc5e81179f93241c0dc80c6661c4b7902a (patch)
tree6c5153472a2110aea9dfd6aebad11a7bd76254ca /src
parent9b2a085d258bfbee507a49c41e8bccd74efcb880 (diff)
downloademacs-7eee47cc5e81179f93241c0dc80c6661c4b7902a.tar.gz
emacs-7eee47cc5e81179f93241c0dc80c6661c4b7902a.zip
(get_next_display_element): Fix case of empty
display table entry.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 247e111750e..eaaff196079 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -3877,9 +3877,13 @@ get_next_display_element (it)
3877 it->dpend = v->contents + v->size; 3877 it->dpend = v->contents + v->size;
3878 it->current.dpvec_index = 0; 3878 it->current.dpvec_index = 0;
3879 it->method = next_element_from_display_vector; 3879 it->method = next_element_from_display_vector;
3880 success_p = get_next_display_element (it);
3881 }
3882 else
3883 {
3884 set_iterator_to_next (it, 0);
3885 success_p = get_next_display_element (it);
3880 } 3886 }
3881
3882 success_p = get_next_display_element (it);
3883 } 3887 }
3884 3888
3885 /* Translate control characters into `\003' or `^C' form. 3889 /* Translate control characters into `\003' or `^C' form.