summaryrefslogtreecommitdiffstats
path: root/osdep/getch2-win.c
diff options
context:
space:
mode:
authorDiogo Franco (Kovensky) <diogomfranco@gmail.com>2013-07-25 12:21:22 -0300
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2013-07-25 12:21:22 -0300
commit19b1279bb3322699c3669197aa96deeaa262ee5a (patch)
treebec92b8ea436d88161ba5e4f9b0e70f33c8e1fda /osdep/getch2-win.c
parent057467f6b33b9f7c942bd2327561b74e738285b7 (diff)
downloadmpv-19b1279bb3322699c3669197aa96deeaa262ee5a.tar.bz2
mpv-19b1279bb3322699c3669197aa96deeaa262ee5a.tar.xz
getch2: Remove unused function, fix possible crash
If we still haven't read the full key from the input but it's regardless a unique match in the database, we could receive a NULL keycode from keys_search (it's not a full match after all) and proceed to use it. Don't disable the keycode matching code if we don't have termcap as we can still match against the hardcoded sequences.
Diffstat (limited to 'osdep/getch2-win.c')
0 files changed, 0 insertions, 0 deletions