Sophie

Sophie

distrib > Mageia > cauldron > i586 > by-pkgid > 52af18b8bf0649cc1161f4565f80fb68 > files > 1

brogue-1.7.5-1.mga7.src.rpm

Index: brogue-1.7.4/src/platform/tcod-platform.c
===================================================================
--- brogue-1.7.4/src/platform/tcod-platform.c
+++ brogue-1.7.4/src/platform/tcod-platform.c	2014-11-27 17:02:16.067310622 +0100
@@ -51,7 +51,7 @@
 
 	}
 
-	sprintf(font, "fonts/font-%i.png", brogueFontSize);
+	sprintf(font, "/usr/share/games/brogue/fonts/font-%i.png", brogueFontSize);
 	
 	TCOD_console_set_custom_font(font, (TCOD_FONT_TYPE_GREYSCALE | TCOD_FONT_LAYOUT_ASCII_INROW), 0, 0);
 	TCOD_console_init_root(COLS, ROWS, "Brogue", false, renderer);
@@ -60,7 +60,7 @@
 	TCOD_console_set_keyboard_repeat(175, 30);
 	TCOD_mouse_show_cursor(1);
 
-	SDL_WM_SetIcon(SDL_LoadBMP("icon.bmp"), NULL);
+	SDL_WM_SetIcon(SDL_LoadBMP("/usr/share/games/brogue/icon.bmp"), NULL);
 }
 
 static void gameLoop()