aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2011-08-04 00:08:40 +0200
committerJoakim Verona2011-08-04 00:08:40 +0200
commit66f857bd9da5ea1037524d0696252ae116e0df9a (patch)
treeebcbe6266d872e4cf62d1e0da8a9e88ac729211f /src
parent817efd16b98d905b3d5a921b7c129b06bb16c07c (diff)
parent568352e7614eeda6d579aacf46d99c83ffc9a5d9 (diff)
downloademacs-66f857bd9da5ea1037524d0696252ae116e0df9a.tar.gz
emacs-66f857bd9da5ea1037524d0696252ae116e0df9a.zip
fixed an assert
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xdisp.c1
-rw-r--r--src/xwidget.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 3717924ff68..7c043f6d087 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12011-08-03 Paul Eggert <eggert@cs.ucla.edu>
2
3 * xdisp.c (compute_display_string_pos): Remove unused local.
4
12011-08-02 Eli Zaretskii <eliz@gnu.org> 52011-08-02 Eli Zaretskii <eliz@gnu.org>
2 6
3 Fix slow cursor motion and scrolling in large buffers with 7 Fix slow cursor motion and scrolling in large buffers with
diff --git a/src/xdisp.c b/src/xdisp.c
index e7c3ac301ba..6f871903ed5 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -3168,7 +3168,6 @@ compute_display_string_pos (struct text_pos *position,
3168 EMACS_INT lim = 3168 EMACS_INT lim =
3169 (charpos < eob - MAX_DISP_SCAN) ? charpos + MAX_DISP_SCAN : eob; 3169 (charpos < eob - MAX_DISP_SCAN) ? charpos + MAX_DISP_SCAN : eob;
3170 struct text_pos tpos; 3170 struct text_pos tpos;
3171 struct buffer *b;
3172 3171
3173 *disp_prop_p = 1; 3172 *disp_prop_p = 1;
3174 3173
diff --git a/src/xwidget.c b/src/xwidget.c
index 08b16bbbc35..1a3e76dd4a2 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -614,7 +614,7 @@ x_draw_xwidget_glyph_string (struct glyph_string *s)
614 int y = s->y + (s->height / 2) - (xww->height / 2); 614 int y = s->y + (s->height / 2) - (xww->height / 2);
615 int moved=0; 615 int moved=0;
616 616
617 if (xv == NULL){ 617 if (xv == NULL || xv->initialized == 0){
618 /* Views must be initialized once(only once). 618 /* Views must be initialized once(only once).
619 We do it here in the display loop because there is no other time to know things like 619 We do it here in the display loop because there is no other time to know things like
620 window placement etc. 620 window placement etc.