Changes in kernel/generic/src/console/kconsole.c [84239b1:a35b458] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/kconsole.c
r84239b1 ra35b458 264 264 } 265 265 266 max_match_len_tmp = 0;267 while ((output[max_match_len_tmp] ==266 for (max_match_len_tmp = 0; 267 (output[max_match_len_tmp] == 268 268 hint[max_match_len_tmp]) && 269 (max_match_len_tmp < max_match_len)) 270 ++max_match_len_tmp; 269 (max_match_len_tmp < max_match_len); ++max_match_len_tmp); 271 270 272 271 max_match_len = max_match_len_tmp; … … 374 373 beg = 0; 375 374 } else { 376 beg = position - 1;377 while ((beg > 0) && (!isspace(current[beg])))378 beg-- ;375 for (beg = position - 1; 376 (beg > 0) && (!isspace(current[beg])); 377 beg--); 379 378 380 379 if (isspace(current[beg]))
Note:
See TracChangeset
for help on using the changeset viewer.