Fix invalid parameter usage 50/40150/1
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 29 May 2015 12:08:09 +0000 (21:08 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 29 May 2015 12:08:09 +0000 (21:08 +0900)
Change-Id: I42e822c654dc2c1137a8e8e2435f87e9de960a2e

src/client.c

index c94bb39..928c084 100644 (file)
@@ -235,8 +235,8 @@ static int method_renew(struct widget_event_arg *arg, void *data)
                        &arg->info.widget_recreate.out_content,
                        &arg->info.widget_recreate.out_title);
        if (ret == 0) {
-               if (widget_set_orientation(arg->pkgname, arg->id, arg->info.widget_create.degree) < 0) {
-                       ErrPrint("Failed to set orientation %s - %d\n", arg->id, arg->info.widget_create.degree);
+               if (widget_set_orientation(arg->pkgname, arg->id, arg->info.widget_recreate.degree) < 0) {
+                       ErrPrint("Failed to set orientation %s - %d\n", arg->id, arg->info.widget_recreate.degree);
                }
 
                if (w != arg->info.widget_recreate.width || h != arg->info.widget_recreate.height) {