Commit 0789483d authored by Phil Krylov's avatar Phil Krylov Committed by Alexandre Julliard

Automatically set default font after parsing a font table in RichEdit

RTF reader.
parent 306bd05f
......@@ -1021,6 +1021,14 @@ static void ReadFontTbl(RTF_Info *info)
* Could check other pieces of structure here, too, I suppose.
*/
RTFRouteToken (info); /* feed "}" back to router */
/* Set default font */
info->rtfClass = rtfControl;
info->rtfMajor = rtfCharAttr;
info->rtfMinor = rtfFontNum;
info->rtfParam = info->defFont;
lstrcpyA(info->rtfTextBuf, "f");
RTFUngetToken(info);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment