чување 51906139b152f202a7929647fd40f8310b5cdb35
родитељ 09ed0a262d1d0dea9b5f39b0ce674fca2699478e
Аутор: Страхиња Радић <sr@strahinja.org>
Датум: Fri, 17 Oct 2025 06:42:09 +0200
draw.c: Add error message for ERR_ERRNO_SET to prevent potential should-not-happen
Diffstat:
измењених датотека: 1, додавања: 2(+), брисања: 1(-)
diff --git a/draw.c b/draw.c
@@ -68,7 +68,8 @@ const char* errors[] = {
[ERR_DLG_OPEN_QUIT] = "Press Esc to close dialog",
[ERR_INPUT_NONNUM] = "Input must be numerical",
[ERR_INVALID_NUM] = "Invalid input",
- [ERR_NOT_IMP] = "Function not implemented/configured"};
+ [ERR_NOT_IMP] = "Function not implemented/configured",
+ [ERR_ERRNO_SET] = "System call/library function error"};
const char* actions[] = {
[ACT_WRITING] = "Writing...",
[ACT_READING] = "Reading...",