stb_textedit: remove double initialization

`clang-scan` found this
This commit is contained in:
Martin Stensgård 2018-05-06 12:38:11 +02:00 committed by GitHub
parent e6afb9cbae
commit ebcae5b130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}