aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xdisp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b7a6e0f911..15e57c464b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-29 Ken Raeburn <[email protected]>
+
+ * xdisp.c (store_mode_line_string): Lisp_Object/int mixup.
+
2002-06-28 Jan D. <[email protected]>
* keyboard.c (readable_filtered_events): New function that filters
diff --git a/src/xdisp.c b/src/xdisp.c
index afcce0b7b9..066f4fa002 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -14104,7 +14104,7 @@ static int store_mode_line_string (string, lisp_string, copy_string, field_width
}
else
{
- len = Flength (lisp_string);
+ len = XFASTINT (Flength (lisp_string));
if (precision > 0 && len > precision)
{
len = precision;