ui/common/types.c

changeset 1118
546a969ad7d5
parent 1115
65870e2dbc1b
equal deleted inserted replaced
1117:a8410327b0dc 1118:546a969ad7d5
976 976
977 /* ---------------- Text functions ---------------- */ 977 /* ---------------- Text functions ---------------- */
978 978
979 char* ui_text_getsubstr(UiText *text, int begin, int end) { 979 char* ui_text_getsubstr(UiText *text, int begin, int end) {
980 if(text->getsubstr) { 980 if(text->getsubstr) {
981 text->getsubstr(text, begin, end); 981 return text->getsubstr(text, begin, end);
982 } else { 982 } else {
983 return NULL; 983 return NULL;
984 } 984 }
985 } 985 }
986 986

mercurial