summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-02-19 21:21:50 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-02-19 21:21:50 +0100
commit145c965135dc01869051173007257123df7f0a4b (patch)
tree8aabe0a6f4cecd1c97640c218c823deaeaa3fadb /core
parenta090c0745354791874167349498bb635c3cba3ba (diff)
downloadmpv-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