fixed atom retrieval. atom names are NOT NUL-terminated.

SVN revision: 29950
This commit is contained in:
tilman 2007-05-11 17:31:49 +00:00 committed by tilman
parent 9605e2fff0
commit 3af57389ca
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ EAPI Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_CLIPBOARD = 0;
the second one gets the replies and set the atoms. */
#define FETCH_ATOM(s) \
atom_cookies[i] = xcb_intern_atom(_ecore_xcb_conn, 0, sizeof(s), s); \
atom_cookies[i] = xcb_intern_atom(_ecore_xcb_conn, 0, strlen(s), s); \
i++
void