Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/embryo
Dir : e17/libs/embryo/src/lib
Modified Files:
embryo_str.c
Log Message:
made snprintf() return the number of characters written on success, as it advertises
to do
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/embryo/src/lib/embryo_str.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- embryo_str.c 24 Aug 2004 09:47:06 -0000 1.4
+++ embryo_str.c 29 Oct 2004 17:21:14 -0000 1.5
@@ -383,7 +383,7 @@
s2[o] = 0;
STRSET(ep, params[1], s2);
- return 0;
+ return strlen(s2);
}
static Embryo_Cell
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs