From c963d75dfdeec11f82e79e727062fbf89afa2c04 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 22 Apr 2012 09:19:23 +1000 Subject: Update EFL to latest beta. --- libraries/edje/src/bin/edje_player.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'libraries/edje/src/bin/edje_player.c') diff --git a/libraries/edje/src/bin/edje_player.c b/libraries/edje/src/bin/edje_player.c index 4d0c0a3..208fbb4 100644 --- a/libraries/edje/src/bin/edje_player.c +++ b/libraries/edje/src/bin/edje_player.c @@ -20,12 +20,6 @@ #include #include -#ifdef _WIN32 -# define FMT_UCHAR "%c" -#else -# define FMT_UCHAR "%hhu" -#endif - struct opts { char *file; char *group; @@ -554,7 +548,7 @@ static unsigned char _parse_color(__UNUSED__ const Ecore_Getopt *parser, __UNUSE { unsigned char *color = (unsigned char *)storage->ptrp; - if (sscanf(str, FMT_UCHAR "," FMT_UCHAR "," FMT_UCHAR, color, color + 1, color + 2) != 3) + if (sscanf(str, "%hhu,%hhu,%hhu", color, color + 1, color + 2) != 3) { fprintf(stderr, "ERROR: incorrect color value '%s'\n", str); return 0; -- cgit v1.1