diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-11-17 18:54:00 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-11-17 18:54:00 +0000 |
commit | bc8a4e4b8cb613b7a0e4f348fe81086f92d9a994 (patch) | |
tree | d3cd0a268b651940a211a46a31f464effd3f1c4f /apps | |
parent | 6a5cc3a7677335a83d8c6463cc285dcee982aa7e (diff) |
Don't call a plugin function just 'main()', this will crash the win32 simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7930 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/starfield.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/starfield.c b/apps/plugins/starfield.c index cc8c8b7d20..c697bae624 100644 --- a/apps/plugins/starfield.c +++ b/apps/plugins/starfield.c @@ -174,7 +174,7 @@ static inline void starfield_move_and_draw(struct starfield * starfield) static struct starfield starfield; -int main(void) +int plugin_main(void) { char str_buffer[40]; int button, t_disp=0; @@ -251,7 +251,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) if (rb->global_settings->backlight_timeout > 0) rb->backlight_set_timeout(1);/* keep the light on */ - ret = main(); + ret = plugin_main(); return ret; } |