summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer/tv_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_viewer/tv_display.c')
-rw-r--r--apps/plugins/text_viewer/tv_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/text_viewer/tv_display.c b/apps/plugins/text_viewer/tv_display.c
index 9ecfd8d709..9eb1151672 100644
--- a/apps/plugins/text_viewer/tv_display.c
+++ b/apps/plugins/text_viewer/tv_display.c
@@ -281,7 +281,7 @@ static bool tv_set_font(const unsigned char *font)
281 tv_change_fontid(rb->font_load(path)); 281 tv_change_fontid(rb->font_load(path));
282 if (preferences->font_id < 0) 282 if (preferences->font_id < 0)
283 { 283 {
284 rb->splash(HZ/2, "font load failed"); 284 rb->splash(HZ/2, "font load failed"); // XXX i18n
285 return false; 285 return false;
286 } 286 }
287 } 287 }
@@ -304,7 +304,7 @@ static int tv_change_preferences(const struct tv_preferences *oldp)
304 { 304 {
305 /* 305 /*
306 * tv_set_font(rb->global_settings->font_file) doesn't fail usually. 306 * tv_set_font(rb->global_settings->font_file) doesn't fail usually.
307 * if it fails, a fatal problem occurs in Rockbox. 307 * if it fails, a fatal problem occurs in Rockbox.
308 */ 308 */
309 if (!rb->strcmp(preferences->font_name, rb->global_settings->font_file)) 309 if (!rb->strcmp(preferences->font_name, rb->global_settings->font_file))
310 return TV_CALLBACK_ERROR; 310 return TV_CALLBACK_ERROR;