projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b98b7
)
use c array size for e atom init
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 25 Jun 2015 22:53:55 +0000
(18:53 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 26 Jun 2015 00:04:31 +0000
(20:04 -0400)
src/bin/e_atoms.c
patch
|
blob
|
history
diff --git
a/src/bin/e_atoms.c
b/src/bin/e_atoms.c
index 94e63d8c8080053a65a4c6eca8c04a7a9ae10910..3b021848cb8d164339f64d5d84edf548a4e65183 100644
(file)
--- a/
src/bin/e_atoms.c
+++ b/
src/bin/e_atoms.c
@@
-33,9
+33,9
@@
e_atoms_init(void)
"__E_ATOM_DESKTOP_FILE",
"E_ZONE_GEOMETRY"
};
- Ecore_X_Atom atoms[
11
];
+ Ecore_X_Atom atoms[
EINA_C_ARRAY_LENGTH(atom_names)
];
- ecore_x_atoms_get(atom_names,
11
, atoms);
+ ecore_x_atoms_get(atom_names,
EINA_C_ARRAY_LENGTH(atom_names)
, atoms);
E_ATOM_MANAGED = atoms[0];
E_ATOM_ZONE = atoms[1];
E_ATOM_DESK = atoms[2];