diff libmlk-core/mlk/core/window.c @ 437:e1eebc6bf25d

man: initial import
author David Demelier <markand@malikania.fr>
date Sun, 16 Oct 2022 13:21:40 +0200
parents 8f59201dc76b
children 773a082f0b91
line wrap: on
line diff
--- a/libmlk-core/mlk/core/window.c	Sun Oct 16 09:12:52 2022 +0200
+++ b/libmlk-core/mlk/core/window.c	Sun Oct 16 13:21:40 2022 +0200
@@ -84,7 +84,7 @@
 	assert(title);
 
 	if (!load_window(title, w, h) || !load_renderer())
-		return ERR_SDL;
+		return MLK_ERR_SDL;
 
 	window.w = w;
 	window.h = h;