comparison examples/example-message/example-message.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
comparison
equal deleted inserted replaced
464:b6b1162dafa3 465:01f5580e43d1
47 47
48 static void 48 static void
49 init(void) 49 init(void)
50 { 50 {
51 if (mlk_core_init("fr.malikania", "example-message") < 0 || ui_init() < 0 || rpg_init() < 0) 51 if (mlk_core_init("fr.malikania", "example-message") < 0 || ui_init() < 0 || rpg_init() < 0)
52 panic(); 52 mlk_panic();
53 if (window_open("Example - Message", W, H) < 0) 53 if (window_open("Example - Message", W, H) < 0)
54 panic(); 54 mlk_panic();
55 } 55 }
56 56
57 static void 57 static void
58 quit(void) 58 quit(void)
59 { 59 {