client: fixed typo 55/169455/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 7 Feb 2018 03:51:44 +0000 (12:51 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Wed, 7 Feb 2018 03:51:58 +0000 (12:51 +0900)
Change-Id: Ib849b00fbaa953ad94ed5118c8ac3afeb79b06a2

src/wayland-tbm-client.c

index 4ca7222..1694b7a 100644 (file)
@@ -1464,7 +1464,7 @@ wayland_tbm_client_queue_get_surfaces(struct wayland_tbm_client *tbm_client,
                        *num = queue_info->queue_size;
        }
 
-       if (surface) {
+       if (surfaces) {
                if (queue_info->is_active && queue_info->active_flush) {
                        wl_list_for_each(buffer, &queue_info->attach_bufs, link) {
                                surfaces[index] = buffer->tbm_surface;