Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/embryo
Dir : e17/libs/embryo/src/lib
Modified Files:
embryo_amx.c
Log Message:
stafford patch
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/embryo/src/lib/embryo_amx.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- embryo_amx.c 15 May 2004 17:24:56 -0000 1.17
+++ embryo_amx.c 6 Jun 2004 04:41:56 -0000 1.18
@@ -432,7 +432,8 @@
if (_embryo_func_get(ep, mid, pname) == EMBRYO_ERROR_NONE)
result = strcmp(pname, name);
else
- result = -1;
+ return EMBRYO_FUNCTION_NONE;
+/* result = -1;*/
if (result > 0) last = mid - 1;
else if (result < 0) first = mid + 1;
else return mid;
@@ -460,10 +461,11 @@
if (_embryo_var_get(ep, mid, pname, &paddr) == EMBRYO_ERROR_NONE)
result = strcmp(pname, name);
else
- result = -1;
+ return EMBRYO_CELL_NONE;
+/* result = -1;*/
if (result > 0) last = mid - 1;
else if (result < 0) first = mid + 1;
- return paddr;
+ else return paddr;
}
return EMBRYO_CELL_NONE;
}
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs