From 6bd75aa0a544d60d942c8c44d241ddd17cb0721f Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Fri, 9 Feb 2007 10:47:37 +0000 Subject: [PATCH] Update version number to 0.8 ready for release. Also move the "Press ENTER to exit ipodpatcher" prompt to after the ipod_close() call. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12244 a1c6a512-1295-4272-9138-f99709370657 --- tools/ipodpatcher/main.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tools/ipodpatcher/main.c b/tools/ipodpatcher/main.c index 49c79e2454..d183b9bc52 100644 --- a/tools/ipodpatcher/main.c +++ b/tools/ipodpatcher/main.c @@ -29,7 +29,7 @@ #include "ipodpatcher.h" #include "ipodio.h" -#define VERSION "0.8svn" +#define VERSION "0.8 with r12194-070204 bootloaders" int verbose = 0; @@ -318,8 +318,6 @@ int main(int argc, char* argv[]) } else { fprintf(stderr,"[ERR] --install failed.\n"); } - printf("Press ENTER to exit ipodpatcher :"); - fgets(yesno,4,stdin); } } #endif @@ -419,5 +417,13 @@ int main(int argc, char* argv[]) ipod_close(&ipod); +#ifdef WITH_BOOTOBJS + if (action==INTERACTIVE) { + printf("Press ENTER to exit ipodpatcher :"); + fgets(yesno,4,stdin); + } +#endif + + return 0; }