summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weston-ivi-shell/src/ivi-controller-impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/weston-ivi-shell/src/ivi-controller-impl.c b/weston-ivi-shell/src/ivi-controller-impl.c
index b92b4ce..1f0ae95 100644
--- a/weston-ivi-shell/src/ivi-controller-impl.c
+++ b/weston-ivi-shell/src/ivi-controller-impl.c
@@ -830,7 +830,7 @@ controller_surface_screenshot(struct wl_client *client,
free(buffer);
if (save_as_bitmap(filename, (const char *)image_buffer,
- size, width, height, 24) != 0) {
+ image_size, width, height, 24) != 0) {
weston_log("failed to take screenshot\n");
}