[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/dispnew.c
From: |
Jan Djärv |
Subject: |
[Emacs-diffs] Changes to emacs/src/dispnew.c |
Date: |
Sat, 29 Nov 2003 06:10:08 -0500 |
Index: emacs/src/dispnew.c
diff -c emacs/src/dispnew.c:1.323 emacs/src/dispnew.c:1.324
*** emacs/src/dispnew.c:1.323 Thu Nov 27 16:15:53 2003
--- emacs/src/dispnew.c Sat Nov 29 06:10:07 2003
***************
*** 5726,5736 ****
--- 5726,5738 ----
*dx = x0 + it.first_visible_x - it.current_x;
*dy = *y - it.current_y;
+ #ifdef HAVE_WINDOW_SYSTEM
if (it.what == IT_IMAGE
&& (img = IMAGE_FROM_ID (it.f, it.image_id)) != NULL
&& !NILP (img->spec))
*object = img->spec;
else
+ #endif
*object = STRINGP (it.string) ? it.string : w->buffer;
*pos = it.current;
*x = it.hpos;