aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-09-21 04:09:09 +0200
committerStapleButter <thetotalworm@gmail.com>2017-09-21 04:09:09 +0200
commit76c5451ad9951aecd53a9edcc6485de40170691f (patch)
tree912a53d4950f11c1ec22ca02a11467f65c1561e0
parent48cf9eb80552798f22986c60d9c66c5b74e46aab (diff)
I'm an idiot
-rw-r--r--src/libui_sdl/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libui_sdl/main.cpp b/src/libui_sdl/main.cpp
index c61cebe..16fe070 100644
--- a/src/libui_sdl/main.cpp
+++ b/src/libui_sdl/main.cpp
@@ -276,7 +276,7 @@ void Stop()
uiMenuItemDisable(MenuItem_Stop);
uiMenuItemSetChecked(MenuItem_Pause, 0);
- memset(ScreenBuffer, 256*384*4, 0);
+ memset(ScreenBuffer, 0, 256*384*4);
uiAreaQueueRedrawAll(MainDrawArea);
}