aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'display.c')
-rw-r--r--display.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/display.c b/display.c
index 6b94993..e0c3319 100644
--- a/display.c
+++ b/display.c
@@ -1,4 +1,4 @@
-/* $Id: display.c,v 1.62 2003/02/05 16:43:57 ukai Exp $ */
+/* $Id: display.c,v 1.63 2003/02/06 17:15:11 ukai Exp $ */
#include <signal.h>
#include "fm.h"
@@ -417,6 +417,7 @@ displayBuffer(Buffer *buf, int mode)
}
if (mode == B_FORCE_REDRAW || mode == B_SCROLL || mode == B_REDRAW_IMAGE ||
cline != buf->topLine || ccolumn != buf->currentColumn) {
+#ifdef USE_RAW_SCROLL
if (
#ifdef USE_IMAGE
!(activeImage && displayImage && draw_image_flag) &&
@@ -439,7 +440,9 @@ displayBuffer(Buffer *buf, int mode)
}
redrawNLine(buf, n);
}
- else {
+ else
+#endif
+ {
#ifdef USE_IMAGE
if (activeImage &&
(mode == B_REDRAW_IMAGE ||