mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[UXTHEME] -Fix parsing font styles like bold or italic.
svn path=/trunk/; revision=74935
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user