From: Jinhyung Choi Date: Mon, 5 Jan 2015 06:53:27 +0000 (+0900) Subject: target image path: added IMAGE_PATH_SUFFIX condition X-Git-Tag: TizenStudio_2.0_p3.0~376 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F98%2F33298%2F2;p=sdk%2Femulator%2Fqemu.git target image path: added IMAGE_PATH_SUFFIX condition Change-Id: I9224d318bca7811d4535fbc796c358f966310c4d Signed-off-by: Jinhyung Choi --- diff --git a/tizen/src/emulator_legacy.c b/tizen/src/emulator_legacy.c index 32350df..5786038 100644 --- a/tizen/src/emulator_legacy.c +++ b/tizen/src/emulator_legacy.c @@ -194,7 +194,8 @@ static void extract_qemu_info(int qemu_argc, char **qemu_argv) int i = 0; for (i = 0; i < qemu_argc; ++i) { - if (strstr(qemu_argv[i], IMAGE_PATH_PREFIX) != NULL) { + if (strstr(qemu_argv[i], IMAGE_PATH_PREFIX) != NULL && + strstr(qemu_argv[i], IMAGE_PATH_SUFFIX) != NULL) { set_image_and_log_path(qemu_argv[i]); } else if (strstr(qemu_argv[i], INPUT_TOUCH_PARAMETER) != NULL) { /* touchscreen */