Analyser/Remove_List_Char [ Functions ]
FUNCTION
Remove... (TODO)
INPUTS
- arg_item -- the item to be analysed.
- start_index --
SOURCE
static void Remove_List_Char( struct RB_Item *arg_item, int start_index ) { char *c = arg_item->lines[start_index]->line; for ( ; *c && utf8_isspace( *c ); ++c ) { /* empty */ }; if ( *c && ( strlen( c ) >= 3 ) ) { if ( strchr( "*-o", *c ) && utf8_isspace( *( c + 1 ) ) ) { char *temp = arg_item->lines[start_index]->line; *c = ' '; arg_item->lines[start_index]->line = RB_StrDup( temp + 2 ); free( temp ); } } }