summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2022-02-27 16:56:36 -0700
committercflip <cflip@cflip.net>2022-02-27 16:56:36 -0700
commited68168a1cd42bd593895eed055bf129217142d3 (patch)
treeba9a6516110cab8f08710ac63cd23c6d3d550c74
parent34c1a1d0291a2d5215100e803739f5e973b36063 (diff)
Fix typo in window.cpp
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 16c8d24..5f8de7e 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -10,7 +10,7 @@ Window::Window(const char* title, int width, int height, int scale)
: m_width(width), m_height(height), m_scale(scale)
{
if (SDL_Init(SDL_INIT_VIDEO) != 0) {
- fprintf(stderr, "Failed to initalize SDL: %s\n", SDL_GetError());
+ fprintf(stderr, "Failed to initialize SDL: %s\n", SDL_GetError());
exit(1);
}