From d16dc22fdfa8abf80e063d0a2b75c038c8fd5f12 Mon Sep 17 00:00:00 2001 From: Michael Lutz Date: Sat, 20 Feb 2021 20:55:51 +0100 Subject: Codechange: Use C++-ism for zeroing. --- src/video/win32_v.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video/win32_v.cpp') diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index d87975635..980bd7292 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -378,7 +378,7 @@ void VideoDriver_Win32::Paint() ReleaseDC(_wnd.main_wnd, dc); - MemSetT(&_dirty_rect, 0); + _dirty_rect = {}; } void VideoDriver_Win32::PaintThread() -- cgit v1.2.3-54-g00ecf