Skip to content

Commit

Permalink
Update error.c
Browse files Browse the repository at this point in the history
  • Loading branch information
qianxuu authored Aug 24, 2020
1 parent cc5ef3c commit 8ec6b0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/core/ui/error.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ ui_view* error_display_res(void* data, void (*drawTop)(ui_view* view, void* data
int module = R_MODULE(result);
int description = R_DESCRIPTION(result);

snprintf(errorData->fullText, 4096, "%s\错误代码: 0x%08lX\n等级: %s (%d)\n摘要: %s (%d)\n模组: %s (%d)\n描述: %s (%d)", textBuf, result, level_to_string(result), level, summary_to_string(result), summary, module_to_string(result), module, description_to_string(result), description);
snprintf(errorData->fullText, 4096, "%s\n错误代码: 0x%08lX\n等级: %s (%d)\n摘要: %s (%d)\n模组: %s (%d)\n描述: %s (%d)", textBuf, result, level_to_string(result), level, summary_to_string(result), summary, module_to_string(result), module, description_to_string(result), description);

return prompt_display_notify("错误", errorData->fullText, COLOR_TEXT, errorData, error_draw_top, error_onresponse);
}
Expand Down Expand Up @@ -782,4 +782,4 @@ ui_view* error_display_errno(void* data, void (*drawTop)(ui_view* view, void* da
snprintf(errorData->fullText, 4096, "%s\nI/O Error: %s (%d)", textBuf, strerror(err), err);

return prompt_display_notify("错误", errorData->fullText, COLOR_TEXT, errorData, error_draw_top, error_onresponse);
}
}

0 comments on commit 8ec6b0b

Please sign in to comment.