Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/edje
Dir : e17/libs/edje/data/src
Modified Files:
e_logo.edc
Log Message:
a nicer way of copying strings :)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/data/src/e_logo.edc,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- e_logo.edc 20 Nov 2004 04:43:37 -0000 1.39
+++ e_logo.edc 9 Dec 2004 19:27:22 -0000 1.40
@@ -178,11 +178,7 @@
new buf[100];
snprintf(buf, sizeof(buf), "MESSAGE STRING ID: %i", id);
- for (new j = 0; j < (sizeof(str) - 1); j++)
- {
- str[j] = getarg(2, j);
- if (str[j] == 0) break;
- }
+ snprintf(str, sizeof(str), "%s", getarg (2));
emit(buf, str);
}
else if (type == MSG_INT_SET)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs