diff libadventure/adventure/panic_state.c @ 134:197374e9f0b2

cmake: prefix assets with their directory
author David Demelier <markand@malikania.fr>
date Sun, 11 Oct 2020 14:54:27 +0200
parents c46f80820b42
children eadfed7674ac
line wrap: on
line diff
--- a/libadventure/adventure/panic_state.c	Sun Oct 11 14:41:31 2020 +0200
+++ b/libadventure/adventure/panic_state.c	Sun Oct 11 14:54:27 2020 +0200
@@ -222,6 +222,6 @@
 	 * useful information to the screen so as last resort print them
 	 * on the console.
 	 */
-	if (!(font_openmem(&data.font, lato, sizeof (lato), SIZE)))
+	if (!(font_openmem(&data.font, fonts_lato, sizeof (fonts_lato), SIZE)))
 		die("%s", error());
 }