aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn <[email protected]>2002-06-29 19:52:14 +0000
committerKen Raeburn <[email protected]>2002-06-29 19:52:14 +0000
commitc8224325714b0f876eb7bba22334e0bba2606483 (patch)
tree72684b00e5fe103c2a3a4ef59b8440167dc2d384 /src
parenteb14066a0bee2ec12a20fdfb6c163da69e522cbb (diff)
(store_mode_line_string): Lisp_Object/int mixup.
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;