diff options
author | James Ross-Gowan <rossy@jrg.systems> | 2019-05-10 20:47:05 +1000 |
---|---|---|
committer | James Ross-Gowan <rossy@jrg.systems> | 2019-05-10 20:47:05 +1000 |
commit | c754c31d6fe32b6806ea4c88a0969ae7f7796d1b (patch) | |
tree | 843060d8f660d1e4320d0f036a9e24e2ebac5b83 /osdep/win32 | |
parent | 91c1691b35d4bfa01cd56f181ff88358a8b23ace (diff) | |
download | mpv-c754c31d6fe32b6806ea4c88a0969ae7f7796d1b.tar.bz2 mpv-c754c31d6fe32b6806ea4c88a0969ae7f7796d1b.tar.xz |
w32_common: avoid unnecessary sprintfs
These were unnecessary for a couple of reasons, but it seems like the
old code went through a lot of effort to avoid duplicating the code to
print a RECT, even though the windowrc gets printed anyway at the end of
the function.
Avoid printing the same windowrc twice by only printing it when it gets
changed (in the w32->current_fs branch.)
Diffstat (limited to 'osdep/win32')
0 files changed, 0 insertions, 0 deletions