diff examples/example-cursor/example-cursor.c @ 465:01f5580e43d1

core: panic -> mlk_panic
author David Demelier <markand@malikania.fr>
date Mon, 27 Feb 2023 10:03:52 +0100
parents 5729efd23286
children 0d6206cee6b9
line wrap: on
line diff
--- a/examples/example-cursor/example-cursor.c	Mon Feb 27 09:57:15 2023 +0100
+++ b/examples/example-cursor/example-cursor.c	Mon Feb 27 10:03:52 2023 +0100
@@ -50,9 +50,9 @@
 init(void)
 {
 	if (mlk_core_init("fr.malikania", "example-cursor") < 0 || ui_init() < 0)
-		panic();
+		mlk_panic();
 	if (window_open("Example - Cursor", W, H) < 0)
-		panic();
+		mlk_panic();
 }
 
 static void