From 2cca872d5e306f5fa9141979b38fa681dab1f969 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 16 Nov 2000 00:53:41 +0000 Subject: [PATCH] (null_row): New gloval static variable. (clear_glyph_row): Delete local static variable null_row. --- src/ChangeLog | 2 +- src/dispnew.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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]; -- 2.39.5