mirror of
https://github.com/nothings/stb.git
synced 2026-08-25 21:41:43 +00:00
Merge branch 'patch-1' of https://github.com/mastensg/stb into working
This commit is contained in:
@@ -558,7 +558,6 @@ static void stb_textedit_find_charpos(StbFindState *find, STB_TEXTEDIT_STRING *s
|
||||
|
||||
// now scan to find xpos
|
||||
find->x = r.x0;
|
||||
i = 0;
|
||||
for (i=0; first+i < n; ++i)
|
||||
find->x += STB_TEXTEDIT_GETWIDTH(str, first, i);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user