diff options
Diffstat (limited to 'video/out/w32_common.c')
-rw-r--r-- | video/out/w32_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/w32_common.c b/video/out/w32_common.c index 51ab3ac3e4..f228bc99b6 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -549,7 +549,7 @@ static void update_dpi(struct vo_w32_state *w32) ReleaseDC(NULL, hdc); MP_VERBOSE(w32, "DPI detected from the old API: %d\n", dpi); } - + if (dpi <= 0) { dpi = 96; MP_VERBOSE(w32, "Couldn't determine DPI, falling back to %d\n", dpi); |