summaryrefslogtreecommitdiff
path: root/src/video/win32_v.cpp
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-02-20 20:55:51 +0100
committerMichael Lutz <michi@icosahedron.de>2021-02-20 21:14:44 +0100
commitd16dc22fdfa8abf80e063d0a2b75c038c8fd5f12 (patch)
treec290d17a65cc37f05cfc0a80dab05364009803e7 /src/video/win32_v.cpp
parent5ca979b1e283fdc25f014c62ea3c95232cac12e6 (diff)
downloadopenttd-d16dc22fdfa8abf80e063d0a2b75c038c8fd5f12.tar.xz
Codechange: Use C++-ism for zeroing.
Diffstat (limited to 'src/video/win32_v.cpp')
-rw-r--r--src/video/win32_v.cpp2
1 files changed, 1 insertions, 1 deletions
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()