Skip to content
Snippets Groups Projects
Commit 2b828a86 authored by David Hedbor's avatar David Hedbor
Browse files

OpenFont never entered any fonts in the cache.

Rev: lib/modules/Protocols.pmod/X.pmod/Xlib.pmod:1.27
parent 535e18e1
No related branches found
No related tags found
No related merge requests found
......@@ -910,7 +910,8 @@ class Display
if(fonts[name]) return fonts[name];
object req = OpenFont_req(name);
send_request(req);
return Types.Font(this_object(), req->fid);
fonts[name] = Types.Font(this_object(), req->fid);
return fonts[name];
}
object CreateGlyphCursor_req(object sourcefont, object maskfont,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment