* view.c [HAVE_X]: Define is_idle() to 1. Warning fix.
Этот коммит содержится в:
родитель
67a118915d
Коммит
b66d2fec72
@ -1,5 +1,7 @@
|
||||
2001-06-01 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* view.c [HAVE_X]: Define is_idle() to 1. Warning fix.
|
||||
|
||||
* file.c (copy_file_file): Initialize src_uid, src_gid, src_mode
|
||||
and file_size to avoid a warning.
|
||||
|
||||
|
@ -95,6 +95,10 @@ int max_dirt_limit =
|
||||
10;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_X
|
||||
#define is_idle() 1
|
||||
#endif
|
||||
|
||||
extern Hook *idle_hook;
|
||||
|
||||
/* Our callback */
|
||||
@ -1475,12 +1479,13 @@ search (WView *view, char *text, int (*search)(WView *, char *, char *, int))
|
||||
char *s = NULL; /* The line we read from the view buffer */
|
||||
long p, beginning;
|
||||
int found_len, search_start;
|
||||
Dlg_head *d = 0;
|
||||
int search_status;
|
||||
#ifdef HAVE_GNOME
|
||||
char *msg;
|
||||
int abort;
|
||||
GtkWidget *gd;
|
||||
#else
|
||||
Dlg_head *d = 0;
|
||||
#endif
|
||||
|
||||
/* Used to keep track of where the line starts, when looking forward */
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user