diff examples/example-animation/example-animation.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 91ce23a36143
line wrap: on
line diff
--- a/examples/example-animation/example-animation.c	Mon Feb 27 09:57:15 2023 +0100
+++ b/examples/example-animation/example-animation.c	Mon Feb 27 10:03:52 2023 +0100
@@ -55,11 +55,11 @@
 init(void)
 {
 	if (mlk_core_init("fr.malikania", "example-animation") < 0 || ui_init() < 0)
-		panic();
+		mlk_panic();
 	if (window_open("Example - Animation", W, H) < 0)
-		panic();
+		mlk_panic();
 	if (mlk_image_openmem(&numbers, assets_sprites_numbers, sizeof (assets_sprites_numbers)) < 0)
-		panic();
+		mlk_panic();
 }
 
 static void