diff options
author | wm4 <wm4@nowhere> | 2015-03-09 11:46:16 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-03-11 12:49:40 +0900 |
commit | 6358e9be5c0b9e1575dbc0def10689a65c2c66fd (patch) | |
tree | 53ecc141f7389a3f19b4a1e97b491b5d3197e31a /video/out/w32_common.c | |
parent | d57a48c64e8022cce94c18a046a39a7ba0d9c87c (diff) | |
download | mpv-6358e9be5c0b9e1575dbc0def10689a65c2c66fd.tar.bz2 mpv-6358e9be5c0b9e1575dbc0def10689a65c2c66fd.tar.xz |
x11: fix VOCTRL_GET_WIN_STATE
Do not rely on the pointed-to argument to be initialized; VOCTRLs are
supposed to completely overwrite them on success (or not to touch them
on failure).
The currently only caller of VOCTRL_GET_WIN_STATE initializes the value
before calling this, so this is merely about correctness and didn't lead
to any actual bugs.
(cherry picked from commit b7f242dfcf600b6ec8a861218df5fc0b71217455)
Diffstat (limited to 'video/out/w32_common.c')
0 files changed, 0 insertions, 0 deletions