From: Kenichi Handa Date: Thu, 16 Nov 2000 00:53:41 +0000 (+0000) Subject: (null_row): New gloval static variable. X-Git-Tag: emacs-pretest-21.0.90~36 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2cca872d5e306f5fa9141979b38fa681dab1f969;p=emacs.git (null_row): New gloval static variable. (clear_glyph_row): Delete local static variable null_row. --- diff --git a/src/ChangeLog b/src/ChangeLog index b88775bd719..836765a1064 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,6 @@ 2000-11-16 Kenichi Handa - * dispnew.c (null_row): New gloval static variable. + * dispnew.c (null_row): New global static variable. (clear_glyph_row): Delete local static variable null_row. 2000-11-15 Jason Rumney diff --git a/src/dispnew.c b/src/dispnew.c index 55faea7b7e3..eff7bb2bf15 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -976,12 +976,13 @@ clear_window_matrices (w, desired_p) changes in the glyph_row structure, i.e. addition or removal of structure members. */ +static struct glyph_row null_row; + void clear_glyph_row (row) struct glyph_row *row; { struct glyph *p[1 + LAST_AREA]; - static struct glyph_row null_row; /* Save pointers. */ p[LEFT_MARGIN_AREA] = row->glyphs[LEFT_MARGIN_AREA];