diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-15 14:25:42 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-15 14:25:42 +0100 |
commit | 3c586ea3d495ffa77ab95d5cb1529ecbf208a63c (patch) | |
tree | bcd9a488454f9a739450c742ced8b2e3ada8c118 /package/mc/patches/patch-lib_tty_key_c | |
parent | c653423921e82df58aa203674fabe6fc6e157cd4 (diff) | |
parent | 0c0e05a071067aa433b3cf13bd982543d9ad7d17 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/mc/patches/patch-lib_tty_key_c')
-rw-r--r-- | package/mc/patches/patch-lib_tty_key_c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/mc/patches/patch-lib_tty_key_c b/package/mc/patches/patch-lib_tty_key_c new file mode 100644 index 000000000..342eb8657 --- /dev/null +++ b/package/mc/patches/patch-lib_tty_key_c @@ -0,0 +1,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); |