emul_state: fix build error caused by wrong merge
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 20 Nov 2015 09:32:18 +0000 (18:32 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 20 Nov 2015 09:32:18 +0000 (18:32 +0900)
Change-Id: I1abe2971ddb7e37bb7fbbe6905cd866e212e1ebb
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
tizen/src/emul_state.c

index 60a169380aac9de7357442fd75be82b77819f101..23e883024fe85630ee50e3f82603b374a233ac4a 100644 (file)
@@ -851,9 +851,8 @@ int get_display_resolution_height(void)
     return qemu_console_get_height(NULL, initial_resolution_height);
 #else
     if (display_type == DT_MARU_QT_ONSCREEN ||
-            display_type == DT_MARU_QT_OFFSCREEN,
-                initial_resolution_height) {
-        return qemu_console_get_height(NULL, -1);
+            display_type == DT_MARU_QT_OFFSCREEN) {
+        return qemu_console_get_height(NULL, initial_resolution_height);
     }
     if (initial_resolution_height == -1) {
         set_resolution_legacy();