summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-11-20 17:08:27 +0900
committerSung-jae Park <nicesj.park@samsung.com>2013-11-20 17:08:27 +0900
commit77ae2b8759bb58ecfdfcbd3daef301d39b80bbde (patch)
treea8d1d4b23f068a284f9d4a7e2bdb614ee1920811
parent71d0980412594546f77cfed037b5f8cf37907661 (diff)
downloadlivebox-edje-77ae2b8759bb58ecfdfcbd3daef301d39b80bbde.tar.gz
livebox-edje-77ae2b8759bb58ecfdfcbd3daef301d39b80bbde.tar.bz2
livebox-edje-77ae2b8759bb58ecfdfcbd3daef301d39b80bbde.zip
Use the hexadecimal for representing color
Change-Id: I0c58d8d58d5f08f1703aa1cf23cd9e2e8a1590d0
-rw-r--r--src/script_port.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/script_port.c b/src/script_port.c
index 2a54310..c3402c1 100644
--- a/src/script_port.c
+++ b/src/script_port.c
@@ -28,7 +28,6 @@
#include <Ecore_Evas.h>
#include <Eet.h>
#include <Ecore_X.h>
-##include <efl_assist.h>
#include <system_settings.h>
@@ -390,7 +389,7 @@ static void parse_shadow(struct image_option *img_opt, const char *value, int le
int softness;
int color;
- if (sscanf(value, "%d,%d,%d,%d", &angle, &offset, &softness, &color) != 4) {
+ if (sscanf(value, "%d,%d,%d,%x", &angle, &offset, &softness, &color) != 4) {
ErrPrint("Invalid shadow [%s]\n", value);
} else {
img_opt->shadow.enabled = 1;