summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-08-08 15:52:10 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-08-08 15:52:10 +0000
commitad828eeb8524ee9a06bf12ad2f9c05d06c8aa5e4 (patch)
tree4c7b11bd4343326c0604b48e736bc298f188b249
parent5c9c741451ca3664375b2c427370d2905f00f5c5 (diff)
downloademacs-ad828eeb8524ee9a06bf12ad2f9c05d06c8aa5e4.tar.gz
Fix last change.
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 6eca10a10e7..05fd0768bcc 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -6942,7 +6942,7 @@ move_it_to (it, to_charpos, to_x, to_y, to_vpos, op)
&& IT_CHARPOS (*it) == to_charpos
&& it->what == IT_CHARACTER
&& it->nglyphs > 1
- && it->line_wrap == WINDOW_WRAP
+ && !it->truncate_lines_p
&& it->current_x == it->last_visible_x - 1
&& it->c != '\n'
&& it->c != '\t'