diff -r a8410327b0dc -r 546a969ad7d5 ui/common/types.c --- a/ui/common/types.c Fri May 01 20:49:35 2026 +0200 +++ b/ui/common/types.c Fri May 01 20:50:33 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; }