Commit 1af07764 authored by Mike Gabriel's avatar Mike Gabriel

NXdixfonts.c: Rename BREAK_XFONT_LOOP to NXAGENT_DANGEROUS_XFONT_LOOP_EXIT (better macro name).

parent b07b6c53
...@@ -1199,7 +1199,7 @@ nxdoListFontsAndAliases(ClientPtr client, nxFsPtr fss) ...@@ -1199,7 +1199,7 @@ nxdoListFontsAndAliases(ClientPtr client, nxFsPtr fss)
if (err == Successful) if (err == Successful)
{ {
#ifndef BREAK_XFONT_LOOP #ifndef NXAGENT_DANGEROUS_XFONT_LOOP_EXIT
if (tmp[0] != 0) if (tmp[0] != 0)
{ {
continue; continue;
...@@ -1214,7 +1214,7 @@ nxdoListFontsAndAliases(ClientPtr client, nxFsPtr fss) ...@@ -1214,7 +1214,7 @@ nxdoListFontsAndAliases(ClientPtr client, nxFsPtr fss)
tmp[c->savedNameLen >255 ? 255 : c->savedNameLen] = 0; tmp[c->savedNameLen >255 ? 255 : c->savedNameLen] = 0;
if (nxagentFontLookUp(tmp)) if (nxagentFontLookUp(tmp))
{ {
#ifdef BREAK_XFONT_LOOP #ifdef NXAGENT_DANGEROUS_XFONT_LOOP_EXIT
break; break;
#else #else
continue; continue;
...@@ -1229,7 +1229,7 @@ nxdoListFontsAndAliases(ClientPtr client, nxFsPtr fss) ...@@ -1229,7 +1229,7 @@ nxdoListFontsAndAliases(ClientPtr client, nxFsPtr fss)
tmp[namelen > 255 ? 255 : namelen] = 0; tmp[namelen > 255 ? 255 : namelen] = 0;
if (nxagentFontLookUp(tmp)) if (nxagentFontLookUp(tmp))
{ {
#ifdef BREAK_XFONT_LOOP #ifdef NXAGENT_DANGEROUS_XFONT_LOOP_EXIT
break; break;
#else #else
continue; continue;
...@@ -1327,7 +1327,7 @@ nxdoListFontsAndAliases(ClientPtr client, nxFsPtr fss) ...@@ -1327,7 +1327,7 @@ nxdoListFontsAndAliases(ClientPtr client, nxFsPtr fss)
bail: bail:
finish: finish:
#ifdef BREAK_XFONT_LOOP #ifdef NXAGENT_DANGEROUS_XFONT_LOOP_EXIT
/* if we allow above loop to be exited via break /* if we allow above loop to be exited via break
we need to free the private xfont data somehow. */ we need to free the private xfont data somehow. */
if (c->current.list_started) if (c->current.list_started)
......
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