diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-02-19 21:21:50 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-02-19 21:21:50 +0100 |
commit | 145c965135dc01869051173007257123df7f0a4b (patch) | |
tree | 8aabe0a6f4cecd1c97640c218c823deaeaa3fadb /core | |
parent | a090c0745354791874167349498bb635c3cba3ba (diff) | |
download | mpv-145c965135dc01869051173007257123df7f0a4b.tar.bz2 mpv-145c965135dc01869051173007257123df7f0a4b.tar.xz |
cocoa_common: fix crash with dead key input and simplify related code
Fixes #29. When a user used dead input keys (like the accent key), `mpv`
crashed because the code tried to access the 0 element of a characters array
(which was empty).
While I was closing this bug, I refactored some related conditionals to
make the code more readable.
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions