1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 20:27:23 +00:00

{mac,cocoa}: trim trailing null out of macosx_icon when loading it

This prevents crashes when loading the application icon image.

Suggested-by: Akemi <der.richter@gmx.de>
This commit is contained in:
Rodger Combs 2018-07-01 04:56:08 -05:00 committed by Jan Ekström
parent ada4f7c600
commit 1842a932d3
2 changed files with 5 additions and 2 deletions