summaryrefslogtreecommitdiff
path: root/apps/plugins/clix.c
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-02-27 14:45:37 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-02-27 14:45:37 +0000
commit3f8d4a5a0f0ee98bc5299c6eb83e0461beebe5a6 (patch)
tree1bbcb42380b27662ad48ca27b346efaf068c2ebb /apps/plugins/clix.c
parentc3abab85acc0933615360225d23b69a078c5d186 (diff)
downloadrockbox-3f8d4a5a0f0ee98bc5299c6eb83e0461beebe5a6.zip
rockbox-3f8d4a5a0f0ee98bc5299c6eb83e0461beebe5a6.tar.gz
rockbox-3f8d4a5a0f0ee98bc5299c6eb83e0461beebe5a6.tar.bz2
rockbox-3f8d4a5a0f0ee98bc5299c6eb83e0461beebe5a6.tar.xz
use same variable/macro name for highscore among plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24941 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/clix.c')
-rw-r--r--apps/plugins/clix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/clix.c b/apps/plugins/clix.c
index 87a5b3e..0735656 100644
--- a/apps/plugins/clix.c
+++ b/apps/plugins/clix.c
@@ -184,7 +184,7 @@ PLUGIN_HEADER
#define CLIX_BUTTON_CLICK BUTTON_CENTER
#endif
-#define HIGHSCORE_FILE PLUGIN_GAMES_DIR "/clix.score"
+#define SCORE_FILE PLUGIN_GAMES_DIR "/clix.score"
#define NUM_SCORES 5
struct highscore highscores[NUM_SCORES];
@@ -875,12 +875,12 @@ enum plugin_status plugin_start(const void* parameter)
rb->touchscreen_set_mode(TOUCHSCREEN_POINT);
#endif
- highscore_load(HIGHSCORE_FILE, highscores, NUM_SCORES);
+ highscore_load(SCORE_FILE, highscores, NUM_SCORES);
struct clix_game_state_t state;
clix_handle_game( &state);
- highscore_save(HIGHSCORE_FILE, highscores, NUM_SCORES);
+ highscore_save(SCORE_FILE, highscores, NUM_SCORES);
return PLUGIN_OK;
}