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
c49e41a4
Commit
c49e41a4
authored
Jan 07, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Atoms.c: scope improvements
parent
e7cf23ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Atoms.c
nx-X11/programs/Xserver/hw/nxagent/Atoms.c
+3
-4
No files found.
nx-X11/programs/Xserver/hw/nxagent/Atoms.c
View file @
c49e41a4
...
...
@@ -444,7 +444,6 @@ void nxagentResetAtomMap(void)
static
void
nxagentInitAtomMap
(
char
**
atomNameList
,
int
count
,
Atom
*
atomsRet
)
{
unsigned
int
i
;
int
list_size
=
count
+
privLastAtom
;
nxagentPrintAtomMapInfo
(
"nxagentInitAtomMap: Entering"
);
...
...
@@ -459,13 +458,13 @@ static void nxagentInitAtomMap(char **atomNameList, int count, Atom *atomsRet)
FatalError
(
"nxagentInitAtomMap: malloc failed
\n
"
);
}
for
(
i
=
0
;
i
<
count
;
i
++
)
for
(
unsigned
int
i
=
0
;
i
<
count
;
i
++
)
{
name_list
[
i
]
=
atomNameList
[
i
];
atom_list
[
i
]
=
None
;
}
for
(
i
=
0
;
i
<
privLastAtom
;
i
++
)
for
(
unsigned
int
i
=
0
;
i
<
privLastAtom
;
i
++
)
{
name_list
[
count
+
i
]
=
(
char
*
)
privAtomMap
[
i
].
string
;
atom_list
[
count
+
i
]
=
None
;
...
...
@@ -490,7 +489,7 @@ static void nxagentInitAtomMap(char **atomNameList, int count, Atom *atomsRet)
return
;
}
for
(
i
=
0
;
i
<
list_size
;
i
++
)
for
(
unsigned
int
i
=
0
;
i
<
list_size
;
i
++
)
{
AtomMap
*
aMap
=
nxagentFindAtomByName
(
name_list
[
i
],
strlen
(
name_list
[
i
]));
...
...
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