Commit 9acaa98
committed
bytes_to_utf8: Don't redo work
We have gone to some trouble to find the first UTF-8 variant character
in the input string. There is no need to look again for variants in the
portion of the string that we have already determined doesn't have any
such variants.
This missing statement appears to have been an oversight.1 parent a5fd0a0 commit 9acaa98
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2397 | 2397 | | |
2398 | 2398 | | |
2399 | 2399 | | |
2400 | | - | |
| 2400 | + | |
2401 | 2401 | | |
2402 | 2402 | | |
2403 | 2403 | | |
2404 | 2404 | | |
2405 | | - | |
2406 | | - | |
2407 | | - | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
2408 | 2408 | | |
2409 | 2409 | | |
2410 | 2410 | | |
| |||
2517 | 2517 | | |
2518 | 2518 | | |
2519 | 2519 | | |
2520 | | - | |
| 2520 | + | |
2521 | 2521 | | |
2522 | 2522 | | |
2523 | 2523 | | |
| |||
0 commit comments