aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2000-11-16 00:53:41 +0000
committerKenichi Handa2000-11-16 00:53:41 +0000
commit2cca872d5e306f5fa9141979b38fa681dab1f969 (patch)
tree6f9b94956aa95c178eea28ccf9743aaa1c9d573e /src
parent981fb6f63739c287387c2653fac3ab5a7cc8fc67 (diff)
downloademacs-2cca872d5e306f5fa9141979b38fa681dab1f969.tar.gz
emacs-2cca872d5e306f5fa9141979b38fa681dab1f969.zip
(null_row): New gloval static variable.
(clear_glyph_row): Delete local static variable null_row.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/dispnew.c3
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 @@
12000-11-16 Kenichi Handa <handa@etl.go.jp> 12000-11-16 Kenichi Handa <handa@etl.go.jp>
2 2
3 * dispnew.c (null_row): New gloval static variable. 3 * dispnew.c (null_row): New global static variable.
4 (clear_glyph_row): Delete local static variable null_row. 4 (clear_glyph_row): Delete local static variable null_row.
5 5
62000-11-15 Jason Rumney <jasonr@gnu.org> 62000-11-15 Jason Rumney <jasonr@gnu.org>
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)
976 changes in the glyph_row structure, i.e. addition or removal of 976 changes in the glyph_row structure, i.e. addition or removal of
977 structure members. */ 977 structure members. */
978 978
979static struct glyph_row null_row;
980
979void 981void
980clear_glyph_row (row) 982clear_glyph_row (row)
981 struct glyph_row *row; 983 struct glyph_row *row;
982{ 984{
983 struct glyph *p[1 + LAST_AREA]; 985 struct glyph *p[1 + LAST_AREA];
984 static struct glyph_row null_row;
985 986
986 /* Save pointers. */ 987 /* Save pointers. */
987 p[LEFT_MARGIN_AREA] = row->glyphs[LEFT_MARGIN_AREA]; 988 p[LEFT_MARGIN_AREA] = row->glyphs[LEFT_MARGIN_AREA];