Enlightenment CVS committal
Author : atmosphere
Project : misc
Module : elapse
Dir : misc/elapse/src
Modified Files:
time.c
Log Message:
fix from sfire||mouse and zoid for specifying your own time format
===================================================================
RCS file: /cvsroot/enlightenment/misc/elapse/src/time.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- time.c 9 Apr 2004 20:14:23 -0000 1.1
+++ time.c 26 Apr 2004 15:20:04 -0000 1.2
@@ -12,9 +12,9 @@
strftime(str, PATH_MAX, elapse->conf.format, ts);
} else {
strncpy(str, asctime(ts), PATH_MAX);
+ str[strlen(str)-1] = '\0';
}
- str[strlen(str)-1] = '\0';
edje_object_part_text_set(elapse->edje, "time", str);
return 1;
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs