diff options
| author | Joakim Verona | 2011-08-04 00:08:40 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-08-04 00:08:40 +0200 |
| commit | 66f857bd9da5ea1037524d0696252ae116e0df9a (patch) | |
| tree | ebcbe6266d872e4cf62d1e0da8a9e88ac729211f /src/xwidget.c | |
| parent | 817efd16b98d905b3d5a921b7c129b06bb16c07c (diff) | |
| parent | 568352e7614eeda6d579aacf46d99c83ffc9a5d9 (diff) | |
| download | emacs-66f857bd9da5ea1037524d0696252ae116e0df9a.tar.gz emacs-66f857bd9da5ea1037524d0696252ae116e0df9a.zip | |
fixed an assert
Diffstat (limited to 'src/xwidget.c')
| -rw-r--r-- | src/xwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. |