diff options
author | Rubidium <rubidium@openttd.org> | 2021-06-16 21:12:08 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-06-17 16:18:30 +0200 |
commit | f904aef176b7bde38f27cc9b4f23c55dc13d2ce5 (patch) | |
tree | 2ea8cfd92faf9786275824cf1a5c5be927283601 /src/video/sdl2_v.cpp | |
parent | a9774f3e341812d43427b9e0166b0def08202477 (diff) | |
download | openttd-f904aef176b7bde38f27cc9b4f23c55dc13d2ce5.tar.xz |
Cleanup: use nullptr instead of 0 or NULL
Diffstat (limited to 'src/video/sdl2_v.cpp')
-rw-r--r-- | src/video/sdl2_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/sdl2_v.cpp b/src/video/sdl2_v.cpp index 66bea5d8c..98c04fd85 100644 --- a/src/video/sdl2_v.cpp +++ b/src/video/sdl2_v.cpp @@ -593,7 +593,7 @@ void VideoDriver_SDL_Base::Stop() void VideoDriver_SDL_Base::InputLoop() { uint32 mod = SDL_GetModState(); - const Uint8 *keys = SDL_GetKeyboardState(NULL); + const Uint8 *keys = SDL_GetKeyboardState(nullptr); bool old_ctrl_pressed = _ctrl_pressed; |