mirror of
https://github.com/reactos/reactos.git
synced 2024-07-05 20:25:17 +00:00
[UXTHEME] -Fix parsing font styles like bold or italic.
svn path=/trunk/; revision=74935
This commit is contained in:
parent
391e68be86
commit
7ca0d5807c
|
@ -963,9 +963,9 @@ static BOOL MSSTYLES_GetNextToken(LPCWSTR lpStringStart, LPCWSTR lpStringEnd, LP
|
|||
return FALSE;
|
||||
}
|
||||
start = cur;
|
||||
while(cur < lpStringEnd && *cur != ',') cur++;
|
||||
while(cur < lpStringEnd && *cur != '\n'&& *cur != ',') cur++;
|
||||
end = cur;
|
||||
while(isspace(*end)) end--;
|
||||
while(isspace(*(end-1))) end--;
|
||||
|
||||
lstrcpynW(lpBuff, start, min(buffSize, end-start+1));
|
||||
|
||||
|
|
Loading…
Reference in a new issue