Fixing warning with --enable-mouse and tiny.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4727 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
36c87bcfd5
Коммит
8611e4785f
@ -14,6 +14,7 @@
|
||||
* src/{proto.h,search.c}: Fix compilation with --enable-browser.
|
||||
* src/global.c (shortcut_init): Fix warnings with --enable-help.
|
||||
* src/text.c (do_justify): Fix compilation with --enable-justify.
|
||||
* src/nano.c (do_mouse): Fix warning with --enable-mouse.
|
||||
|
||||
2014-04-03 Benno Schulenberg <bensberg@justemail.net>
|
||||
* configure.ac: Remove unused '*_support' variables.
|
||||
|
@ -1729,7 +1729,9 @@ int do_mouse(void)
|
||||
/* Did they click on the line with the cursor? If they
|
||||
* clicked on the cursor, we set the mark. */
|
||||
filestruct *current_save = openfile->current;
|
||||
#ifndef NANO_TINY
|
||||
size_t current_x_save = openfile->current_x;
|
||||
#endif
|
||||
size_t pww_save = openfile->placewewant;
|
||||
|
||||
sameline = (mouse_y == openfile->current_y);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user