ui/common/types.c

changeset 1115
65870e2dbc1b
parent 1113
2df0be42b5e0
equal deleted inserted replaced
1114:388285e877fe 1115:65870e2dbc1b
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