From fa6850047538a20be7eb1a73590e671e5963bcf9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 22 Aug 2020 14:14:28 +0200 Subject: [PATCH] Dehardcode some more strings --- file_path_special.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/file_path_special.c b/file_path_special.c index 0167c5a064..76a5ebebd9 100644 --- a/file_path_special.c +++ b/file_path_special.c @@ -206,7 +206,7 @@ void fill_pathname_application_special(char *s, fill_pathname_application_special(s1, sizeof(s1), APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS); - fill_pathname_join(s, s1, "bg.png", len); + fill_pathname_join(s, s1, FILE_PATH_BACKGROUND_IMAGE, len); } } #endif @@ -371,7 +371,7 @@ void fill_pathname_application_special(char *s, default: fill_pathname_application_special(s1, sizeof(s1), APPLICATION_SPECIAL_DIRECTORY_ASSETS_MATERIALUI); - fill_pathname_join(s, s1, "font.ttf", len); + fill_pathname_join(s, s1, FILE_PATH_TTF_FONT, len); } } #endif @@ -411,7 +411,7 @@ void fill_pathname_application_special(char *s, default: fill_pathname_application_special(s1, sizeof(s1), APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB); - fill_pathname_join(s, s1, "font.ttf", len); + fill_pathname_join(s, s1, FILE_PATH_TTF_FONT, len); } } }