oops - good catch seb!

SVN revision: 77762
This commit is contained in:
Carsten Haitzler 2012-10-10 13:06:27 +00:00
parent 688203a56b
commit 9ec7d338a2
1 changed files with 2 additions and 2 deletions

View File

@ -748,7 +748,7 @@ _ecore_xcb_selection_parser_text(const char *target __UNUSED__,
sel = calloc(1, sizeof(Ecore_X_Selection_Data_Text));
if (!sel) return NULL;
if (data && data[size - 1])
if (_data && _data[size - 1])
{
size++;
t = realloc(_data, size);
@ -790,7 +790,7 @@ _ecore_xcb_selection_parser_files(const char *target,
ECORE_XCB_SELECTION_DATA(sel)->free = _ecore_xcb_selection_data_files_free;
if (data && data[size - 1])
if (_data && _data[size - 1])
{
size++;
t = realloc(_data, size);