blob: 342eb86576ae082297b1b39bb580483c2d11decc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- mc-4.8.11.orig/lib/tty/key.c 2013-11-29 19:27:07.000000000 +0100
+++ mc-4.8.11/lib/tty/key.c 2014-02-11 20:02:34.000000000 +0100
@@ -1946,6 +1946,7 @@ int
tty_get_event (struct Gpm_Event *event, gboolean redo_event, gboolean block)
{
int c;
+ static int flag = 0; /* Return value from select */
#ifdef HAVE_LIBGPM
static struct Gpm_Event ev; /* Mouse event */
#endif
@@ -1978,7 +1979,6 @@ tty_get_event (struct Gpm_Event *event,
while (pending_keys == NULL)
{
int nfd;
- static int flag = 0; /* Return value from select */
fd_set select_set;
FD_ZERO (&select_set);
|