changeset 53130:1cdd958738b8

(note_mode_line_or_margin_highlight): Adapt to new mode_line_string and marginal_area_string parameters.
author Kim F. Storm <storm@cua.dk>
date Sun, 23 Nov 2003 00:10:40 +0000
parents 070325c3884d
children c0ad5bc2f493
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sun Nov 23 00:10:08 2003 +0000
+++ b/src/xdisp.c	Sun Nov 23 00:10:40 2003 +0000
@@ -19734,9 +19734,9 @@
   Lisp_Object string, help, map, pos;
 
   if (area == ON_MODE_LINE || area == ON_HEADER_LINE)
-    string = mode_line_string (w, x, y, area, &charpos);
-  else
-    string = marginal_area_string (w, x, y, area, &charpos);
+    string = mode_line_string (w, &x, &y, area, &charpos);
+  else
+    string = marginal_area_string (w, &x, &y, area, &charpos);
 
   if (STRINGP (string))
     {