From: giwoong.kim Date: Wed, 3 Apr 2013 02:37:14 +0000 (+0900) Subject: popup: modified a error message X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1027 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0d4953427a96b5def4fe7c903cd3d228b3278b6b;p=sdk%2Femulator%2Fqemu.git popup: modified a error message modified a error message Signed-off-by: GiWoong Kim --- diff --git a/tizen/src/maru_err_table.c b/tizen/src/maru_err_table.c index 6bb5cd027a..e1753ac002 100644 --- a/tizen/src/maru_err_table.c +++ b/tizen/src/maru_err_table.c @@ -51,7 +51,8 @@ Check if the file is corrupted or missing.\n\n", /* 3 */ "Failed to load a bios file the following path.\ Check if the file is corrupted or missing.\n\n", /* 4 */ "Skin process cannot be initialized. Skin server is not ready.", - /* 5 */ "Skin client could not connect to Skin server. The time of internal heartbeat has expired.", + /* 5 */ "Emulator has stopped working.\n\ +A problem caused the program to stop working correctly.", /* add here.. */ "" }; @@ -76,6 +77,11 @@ void maru_register_exit_msg(int maru_exit_index, char const *const additional_ms maru_exit_status = maru_exit_index; if (maru_exit_status != MARU_EXIT_UNKNOWN) { + if (maru_exit_status == MARU_EXIT_HB_TIME_EXPIRED) { + fprintf(stderr, "Skin client could not connect to Skin server.\ +The time of internal heartbeat has expired.\n"); + } + if (additional_msg != NULL) { len = strlen(_maru_string_table[maru_exit_status]) + strlen(additional_msg) + 1; @@ -94,7 +100,7 @@ void maru_register_exit_msg(int maru_exit_index, char const *const additional_ms snprintf(maru_exit_msg, len, "%s", _maru_string_table[maru_exit_status]); } - } else if (additional_msg != NULL) { + } else if (additional_msg != NULL) { /* MARU_EXIT_UNKNOWN */ len = strlen(additional_msg); if (len >= JAVA_MAX_COMMAND_LENGTH) { len = JAVA_MAX_COMMAND_LENGTH - 1;