Commit 99f541c1 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Font.c: add hint of deliberate pointer misuse

parent 58b3c8cd
......@@ -452,6 +452,10 @@ Bool nxagentFontLookUp(const char *name)
}
}
/*
* NXAGENT uses useless screen pointer to pass the original font name
* to realizeFont, could be a source of problems in the future.
*/
Bool nxagentRealizeFont(ScreenPtr pScreen, FontPtr pFont)
{
#ifdef HAS_XFONT2
......
......@@ -290,7 +290,8 @@ doOpenFont(ClientPtr client, OFclosurePtr c)
if (pScr->RealizeFont)
{
#ifdef NXAGENT_SERVER
/* NXAGENT uses useless screen pointer to pass the original font name
/*
* NXAGENT uses useless screen pointer to pass the original font name
* to realizeFont, could be a source of problems in the future.
*/
......
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