make a note of TODO in str.c

This commit is contained in:
Jeffrey Crowell 2016-06-10 02:17:31 +00:00
parent 3e8a0cc693
commit ef59d3aa7f

View File

@ -454,6 +454,7 @@ R_API int r_str_word_count(const char *string) {
// Returns a pointer to the first instance of a character that isn't chr in a
// string.
// TODO: make this const-correct.
R_API char *r_str_ichr(char *str, char chr) {
while (*str==chr) str++;
return str;