[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.iavalley.cc.ia.us
Mon Dec 18 14:25:01 CST 2000


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2000-12-18 20:24:26 UTC

Modified files:
     src/misc.c

Log message:

oops

---------------------- diff included ----------------------
Index: eggdrop1.6/src/misc.c
diff -u eggdrop1.6/src/misc.c:1.33 eggdrop1.6/src/misc.c:1.34
--- eggdrop1.6/src/misc.c:1.33	Mon Dec 18 14:18:51 2000
+++ eggdrop1.6/src/misc.c	Mon Dec 18 14:24:16 2000
@@ -7,7 +7,7 @@
  *   help system
  *   motd display and %var substitution
  * 
- * $Id: misc.c,v 1.33 2000/12/18 20:18:51 guppy Exp $
+ * $Id: misc.c,v 1.34 2000/12/18 20:24:16 guppy Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -461,10 +461,11 @@
     sprintf(out, "for %d day%s", days, (days == 1) ? "" : "s");
     return;
   }
+  strcpy(out, "for ");
   now -= then;
   hrs = (int) (now / 3600);
   mins = (int) ((now - (hrs * 3600)) / 60);
-  sprintf(s, "for %02d:%02d", hrs, mins);
+  sprintf(s, "%02d:%02d", hrs, mins);
   strcat(out, s);
 }
 
----------------------- End of diff -----------------------



More information about the Changes mailing list