diff --git a/libvo/w32_common.c b/libvo/w32_common.c index 7674ba894b..29a756163f 100644 --- a/libvo/w32_common.c +++ b/libvo/w32_common.c @@ -381,11 +381,11 @@ int vo_w32_config(uint32_t width, uint32_t height, uint32_t flags) { o_dheight = height; if (WinID < 0) { - // the desired size is ignored in wid mode, it always matches the window size. - prev_width = vo_dwidth = width; - prev_height = vo_dheight = height; - prev_x = vo_dx; - prev_y = vo_dy; + // the desired size is ignored in wid mode, it always matches the window size. + prev_width = vo_dwidth = width; + prev_height = vo_dheight = height; + prev_x = vo_dx; + prev_y = vo_dy; } vo_fs = flags & VOFLAG_FULLSCREEN;