summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-09-19 00:16:13 +0000
committerKarl Heuer <kwzh@gnu.org>1994-09-19 00:16:13 +0000
commit2adcc7a53c75899b67e8bd724247c82598541802 (patch)
tree9ebafa9b27f7610b72bdd4f5ed1a308ab2fa5ad4 /src/dispnew.c
parentadf7020a5395d52d37399f301a341eb8d6acf816 (diff)
downloademacs-2adcc7a53c75899b67e8bd724247c82598541802.tar.gz
(direct_output_for_insert, direct_output_forward_char): Fix Lisp_Object
vs. int problems.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 9922574920a..0faabda9298 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1077,7 +1077,7 @@ direct_output_for_insert (g)
At the moment we only lose at end of line or end of buffer
and only with faces that have some background */
/* Instead of wasting time, give up if character has any text properties */
- || ! NILP (Ftext_properties_at (XFASTINT (point - 1), Qnil))
+ || ! NILP (Ftext_properties_at (make_number (point - 1), Qnil))
#endif
/* Give up if w is minibuffer and a message is being displayed there */
@@ -1123,7 +1123,7 @@ direct_output_forward_char (n)
{
register FRAME_PTR frame = selected_frame;
register struct window *w = XWINDOW (selected_window);
- int position;
+ Lisp_Object position;
int hpos = FRAME_CURSOR_X (frame);
/* Give up if in truncated text at end of line. */