aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn2002-06-29 19:52:14 +0000
committerKen Raeburn2002-06-29 19:52:14 +0000
commitc8224325714b0f876eb7bba22334e0bba2606483 (patch)
tree72684b00e5fe103c2a3a4ef59b8440167dc2d384 /src
parenteb14066a0bee2ec12a20fdfb6c163da69e522cbb (diff)
downloademacs-c8224325714b0f876eb7bba22334e0bba2606483.tar.gz
emacs-c8224325714b0f876eb7bba22334e0bba2606483.zip
(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 b7a6e0f9111..15e57c464b1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12002-06-29 Ken Raeburn <raeburn@gnu.org>
2
3 * xdisp.c (store_mode_line_string): Lisp_Object/int mixup.
4
12002-06-28 Jan D. <jan.h.d@swipnet.se> 52002-06-28 Jan D. <jan.h.d@swipnet.se>
2 6
3 * keyboard.c (readable_filtered_events): New function that filters 7 * keyboard.c (readable_filtered_events): New function that filters
diff --git a/src/xdisp.c b/src/xdisp.c
index afcce0b7b9f..066f4fa0027 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
14104 } 14104 }
14105 else 14105 else
14106 { 14106 {
14107 len = Flength (lisp_string); 14107 len = XFASTINT (Flength (lisp_string));
14108 if (precision > 0 && len > precision) 14108 if (precision > 0 && len > precision)
14109 { 14109 {
14110 len = precision; 14110 len = precision;