ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/time.c
(Generate patch)

Comparing deliantra/server/common/time.c (file contents):
Revision 1.1.1.1 by root, Fri Feb 3 07:11:40 2006 UTC vs.
Revision 1.1.1.2 by elmex, Wed Feb 22 18:01:23 2006 UTC

1/* 1/*
2 * static char *rcsid_time_c = 2 * static char *rcsid_time_c =
3 * "$Id: time.c,v 1.1.1.1 2006/02/03 07:11:40 root Exp $"; 3 * "$Id: time.c,v 1.1.1.2 2006/02/22 18:01:23 elmex Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
244 244
245void 245void
246print_tod(object *op) 246print_tod(object *op)
247{ 247{
248 timeofday_t tod; 248 timeofday_t tod;
249 char *suf; 249 const char *suf;
250 int day; 250 int day;
251 251
252 get_tod(&tod); 252 get_tod(&tod);
253 sprintf(errmsg, "It is %d minute%s past %d o'clock %s, on %s", 253 sprintf(errmsg, "It is %d minute%s past %d o'clock %s, on %s",
254 tod.minute+1, ((tod.minute+1 < 2) ? "" : "s"), 254 tod.minute+1, ((tod.minute+1 < 2) ? "" : "s"),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines