Commit f7b395c
Yorhel
strutil.c: Fix error in str_offset_from_columns() with multicolumn char
The function would return one character too many if there is room for
one more column and the character that follows happens to span multiple
columns.1 parent bc791b2 commit f7b395c
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| |||
0 commit comments