From 9681f300de4dddb250770d18dc417ec0027beb94 Mon Sep 17 00:00:00 2001 From: jave Date: Sun, 4 Jan 2015 12:28:42 +0100 Subject: [PATCH] Fixed over-eager ifdef An xwidget ifdef in xdisp.c ended too late, so non xwidget code got ifdefed away unexpectedly. Should fix a crash. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index dd474cf094e..bd6ab628d43 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -7690,6 +7690,7 @@ set_iterator_to_next (struct it *it, int reseat_p) case GET_FROM_STRETCH: #ifdef HAVE_XWIDGETS case GET_FROM_XWIDGET: +#endif /* The position etc with which we have to proceed are on the stack. The position may be at the end of a string, @@ -7699,7 +7700,6 @@ set_iterator_to_next (struct it *it, int reseat_p) if (it->method == GET_FROM_STRING) goto consider_string_end; break; -#endif default: /* There are no other methods defined, so this should be a bug. */ -- 2.39.2