summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2014-04-25 18:33:02 -0400
committerFranklin Wei <frankhwei536@gmail.com>2019-07-28 01:30:29 +0200
commitfd20114eb2b2148d368f954a38bbf72748956216 (patch)
treedae7b026a9c37eaddbf3052e57effdeaf06af2ed
parentfeacbcd639e030cf0096730955335ab7d886e53b (diff)
downloadrockbox-fd20114.tar.gz
rockbox-fd20114.tar.bz2
rockbox-fd20114.zip
robotfindskitten: clear message line before cinema scene
Just writes a bunch of spaces to clear the space before playing our animation. Change-Id: I9422190b691039252de70a5c7eec6286c686f031
-rw-r--r--apps/plugins/robotfindskitten.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/robotfindskitten.c b/apps/plugins/robotfindskitten.c
index 8314839015..4f228423b6 100644
--- a/apps/plugins/robotfindskitten.c
+++ b/apps/plugins/robotfindskitten.c
@@ -464,7 +464,7 @@ static char* messages[] =
"Just a man selling an albatross.",
"The intermission from a 1930s silent movie.",
"It's an inverted billiard ball!",
- "The spectre of Sherlock Holmes wills you onwards.",
+ "The spectre of Sherlock Holmes wills you onwards."
};
#define RFK_VERSION "v1.4142135.406"
@@ -769,6 +769,8 @@ static int validchar(char a)
static void play_animation(int input)
{
int counter;
+ /* Clear the message line */
+ message(" ");
struct screen_object left;
struct screen_object right;
/*The grand cinema scene.*/