aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDmitry Antipov2013-10-07 19:11:17 +0400
committerDmitry Antipov2013-10-07 19:11:17 +0400
commit764636db721a3e8a56a33ade742a56d6956c0752 (patch)
tree08e1baa693b9a2895eeecb5c45127f81c6c9ea77 /src
parentbd74250fd7b09431788d1745cee23a2c6de6deeb (diff)
downloademacs-764636db721a3e8a56a33ade742a56d6956c0752.tar.gz
emacs-764636db721a3e8a56a33ade742a56d6956c0752.zip
* xdisp.c (handle_fontified_prop): Prefer ptrdiff_t to int where needed.
Use bool for boolean.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/xdisp.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 322629f41c0..909a8a25317 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,6 +1,7 @@
12013-10-07 Dmitry Antipov <dmantipov@yandex.ru> 12013-10-07 Dmitry Antipov <dmantipov@yandex.ru>
2 2
3 * insdel.c (insert_from_gap): Prefer ptrdiff_t to int where needed. 3 * insdel.c (insert_from_gap): Prefer ptrdiff_t to int where needed.
4 * xdisp.c (handle_fontified_prop): Likewise. Use bool for boolean.
4 5
52013-10-07 Paul Eggert <eggert@cs.ucla.edu> 62013-10-07 Paul Eggert <eggert@cs.ucla.edu>
6 7
diff --git a/src/xdisp.c b/src/xdisp.c
index 50bf30700be..b01979c3dfd 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -3698,8 +3698,8 @@ handle_fontified_prop (struct it *it)
3698 ptrdiff_t count = SPECPDL_INDEX (); 3698 ptrdiff_t count = SPECPDL_INDEX ();
3699 Lisp_Object val; 3699 Lisp_Object val;
3700 struct buffer *obuf = current_buffer; 3700 struct buffer *obuf = current_buffer;
3701 int begv = BEGV, zv = ZV; 3701 ptrdiff_t begv = BEGV, zv = ZV;
3702 int old_clip_changed = current_buffer->clip_changed; 3702 bool old_clip_changed = current_buffer->clip_changed;
3703 3703
3704 val = Vfontification_functions; 3704 val = Vfontification_functions;
3705 specbind (Qfontification_functions, Qnil); 3705 specbind (Qfontification_functions, Qnil);