Skip to content

Commit 38259db

Browse files
committed
Fix while
1 parent cd688d2 commit 38259db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/intl/grapheme/grapheme_string.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ PHP_FUNCTION(grapheme_levenshtein)
10541054
int32_t pos2 = 0;
10551055
int32_t usrch_pos = 0;
10561056

1057-
while (pos1 != UBRK_DONE) {
1057+
while (true) {
10581058
current1 = ubrk_current(bi1);
10591059
pos1 = ubrk_next(bi1);
10601060
if (pos1 == UBRK_DONE) {

0 commit comments

Comments
 (0)