From: Nobuhiko Tanibata <[email protected]>
Signed-off-by: Nobuhiko Tanibata <[email protected]>
Acked-by: Pekka Paalanen <[email protected]>
---
ivi-shell/ivi-layout.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
index 7bc3aab..2cce2d3 100644
--- a/ivi-shell/ivi-layout.c
+++ b/ivi-shell/ivi-layout.c
@@ -1535,7 +1535,7 @@ ivi_layout_get_screen_resolution(struct ivi_layout_screen
*iviscrn,
{
struct weston_output *output = NULL;
- if (pWidth == NULL || pHeight == NULL) {
+ if (iviscrn == NULL || pWidth == NULL || pHeight == NULL) {
weston_log("ivi_layout_get_screen_resolution: invalid
argument\n");
return IVI_FAILED;
}
--
1.8.3.1
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel