diff options
author | Kenichi Handa <[email protected]> | 2000-11-16 00:53:41 +0000 |
---|---|---|
committer | Kenichi Handa <[email protected]> | 2000-11-16 00:53:41 +0000 |
commit | 2cca872d5e306f5fa9141979b38fa681dab1f969 (patch) | |
tree | 6f9b94956aa95c178eea28ccf9743aaa1c9d573e /src | |
parent | 981fb6f63739c287387c2653fac3ab5a7cc8fc67 (diff) |
(null_row): New gloval static variable.
(clear_glyph_row): Delete local static variable null_row.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 2 | ||||
-rw-r--r-- | src/dispnew.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b88775bd71..836765a106 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,6 @@ 2000-11-16 Kenichi Handa <[email protected]> - * 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 <[email protected]> diff --git a/src/dispnew.c b/src/dispnew.c index 55faea7b7e..eff7bb2bf1 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]; |