Fix a segie. Thanks to CodeWarrior for helping to find it.

SVN revision: 21929
This commit is contained in:
David Walter Seikel 2006-04-07 12:44:36 +00:00
parent 237a7678de
commit c4b63aa74a
1 changed files with 2 additions and 1 deletions

View File

@ -733,7 +733,8 @@ ecore_exe_event_data_get(Ecore_Exe * exe, Ecore_Exe_Flags flags)
}
if (i > last) /* Partial line left over, save it for next time. */
{
e->size = last;
if (e)
e->size = last;
if (flags & ECORE_EXE_PIPE_READ)
{
exe->read_data_size = i - last;