Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
1af07764
Commit
1af07764
authored
Nov 03, 2020
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NXdixfonts.c: Rename BREAK_XFONT_LOOP to NXAGENT_DANGEROUS_XFONT_LOOP_EXIT (better macro name).
parent
b07b6c53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
NXdixfonts.c
nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c
+4
-4
No files found.
nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c
View file @
1af07764
...
...
@@ -1199,7 +1199,7 @@ nxdoListFontsAndAliases(ClientPtr client, nxFsPtr fss)
if
(
err
==
Successful
)
{
#ifndef
BREAK_XFONT_LOOP
#ifndef
NXAGENT_DANGEROUS_XFONT_LOOP_EXIT
if
(
tmp
[
0
]
!=
0
)
{
continue
;
...
...
@@ -1214,7 +1214,7 @@ nxdoListFontsAndAliases(ClientPtr client, nxFsPtr fss)
tmp
[
c
->
savedNameLen
>
255
?
255
:
c
->
savedNameLen
]
=
0
;
if
(
nxagentFontLookUp
(
tmp
))
{
#ifdef
BREAK_XFONT_LOOP
#ifdef
NXAGENT_DANGEROUS_XFONT_LOOP_EXIT
break
;
#else
continue
;
...
...
@@ -1229,7 +1229,7 @@ nxdoListFontsAndAliases(ClientPtr client, nxFsPtr fss)
tmp
[
namelen
>
255
?
255
:
namelen
]
=
0
;
if
(
nxagentFontLookUp
(
tmp
))
{
#ifdef
BREAK_XFONT_LOOP
#ifdef
NXAGENT_DANGEROUS_XFONT_LOOP_EXIT
break
;
#else
continue
;
...
...
@@ -1327,7 +1327,7 @@ nxdoListFontsAndAliases(ClientPtr client, nxFsPtr fss)
bail:
finish:
#ifdef
BREAK_XFONT_LOOP
#ifdef
NXAGENT_DANGEROUS_XFONT_LOOP_EXIT
/* if we allow above loop to be exited via break
we need to free the private xfont data somehow. */
if
(
c
->
current
.
list_started
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment