Wed, 29 Apr 2026 21:26:14 +0200
fix missing return in ui_text_getsubstr
| resource/.DS_Store | file | annotate | diff | comparison | revisions | |
| ui/common/types.c | file | annotate | diff | comparison | revisions |
--- a/ui/common/types.c Tue Apr 28 16:36:10 2026 +0200 +++ b/ui/common/types.c Wed Apr 29 21:26:14 2026 +0200 @@ -978,7 +978,7 @@ char* ui_text_getsubstr(UiText *text, int begin, int end) { if(text->getsubstr) { - text->getsubstr(text, begin, end); + return text->getsubstr(text, begin, end); } else { return NULL; }