* src/text.c: Fix compilation with --enable-tiny --enable-wrapping.
* src/files.c (do_insertfile): Fix compilation with --enable-tiny
--enable-histories --enable-multibuffer.
+ * src/nano.c: Fix compilation with --enable-tiny --enable-mouse.
2014-06-19 Benno Schulenberg <bensberg@justemail.net>
* src/nano.c (window_init): Rename 'no_more_space()' to 'more_space()'
openfile->current_y = i;
i += strlenpt(openfile->current->data) / COLS;
}
-#endif
-
#ifdef DEBUG
fprintf(stderr, "do_mouse(): moving to current_y = %ld, index i = %lu\n",
(long)openfile->current_y, (unsigned long)i);
mouse_x, (unsigned long)openfile->current_x);
#endif
}
- } else {
+ } else
+#endif /* NANO_TINY */
+ {
/* Move to where the click occurred. */
for (; openfile->current_y < mouse_y && openfile->current !=
openfile->filebot; openfile->current_y++)