Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#6382 - Splash error message when failing to load a font.

Attached to Project: Rockbox
Opened by Nils Wallménius (nls) - Saturday, 25 November 2006, 10:33 GMT+2
Last edited by Alex Parker (BigBambi) - Sunday, 06 June 2010, 00:06 GMT+2
Task Type Patches
Category User Interface
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

This patch makes the filetree splash an error when loading a .cfg file and loading the specified font fails.
It will hopefully help people understand what's wrong when their themes display funny. I also removed the
"please wait" splash when starting to load settings as it was almost never visible but covered by the
"Settings Loaded" splash or the error message.
Comments and suggestions are very welcome, I'm not much of a coder and it would be nice if someone has
a more elegant way to do this.
   fontload2.diff (3.1 KiB)
 apps/filetree.c        |    8 +++++---
 apps/settings.c        |    9 ++++++---
 apps/settings.h        |    2 +-
 apps/lang/english.lang |   15 ++++++++++++++-
 4 files changed, 26 insertions(+), 8 deletions(-)

This task depends upon

Closed by  Alex Parker (BigBambi)
Sunday, 06 June 2010, 00:06 GMT+2
Reason for closing:  Rejected
Comment by Nils Wallménius (nls) - Saturday, 25 November 2006, 11:02 GMT+2
Changed error values to negative numbers and 0==sucess.
   fontload3.diff (3.2 KiB)
 apps/filetree.c        |    8 +++++---
 apps/settings.c        |    9 ++++++---
 apps/settings.h        |    2 +-
 apps/lang/english.lang |   15 ++++++++++++++-
 4 files changed, 26 insertions(+), 8 deletions(-)

Loading...