From 0d4953427a96b5def4fe7c903cd3d228b3278b6b Mon Sep 17 00:00:00 2001 From: "giwoong.kim" Date: Wed, 3 Apr 2013 11:37:14 +0900 Subject: [PATCH] popup: modified a error message modified a error message Signed-off-by: GiWoong Kim --- tizen/src/maru_err_table.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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; -- 2.34.1