CtrlCore: Ctrl::GetEventLevel

This commit is contained in:
Mirek Fidler 2021-12-05 10:03:47 +01:00
parent fc6946e016
commit 198e8114a6
8 changed files with 25 additions and 6 deletions

View file

@ -69,7 +69,7 @@ void GLDrawText(const GLContext2D& dd, Pointf pos, double angle, const wchar *te
if(angle)
u = Polar(-angle);
if(n < 0)
n = wstrlen(text);
n = strlen__(text);
for(int i = 0; i < n; i++) {
GLTexture m = GetGlyphGLTextureCached(-angle, text[i], font, ink);
Point h = m.GetHotSpot();