comparison src/undo.c @ 810:9f345c48220b v7.0c

updated for version 7.0c
author vimboss
date Mon, 27 Mar 2006 17:01:56 +0000
parents 95dac6af3b3a
children 6675076019ae
comparison
equal deleted inserted replaced
809:4f1b94b51e99 810:9f345c48220b
1385 struct tm *curtime; 1385 struct tm *curtime;
1386 1386
1387 if (time(NULL) - tt >= 100) 1387 if (time(NULL) - tt >= 100)
1388 { 1388 {
1389 curtime = localtime(&tt); 1389 curtime = localtime(&tt);
1390 (void)strftime((char *)buf, buflen, "%T", curtime); 1390 (void)strftime((char *)buf, buflen, "%H:%M:%S", curtime);
1391 } 1391 }
1392 else 1392 else
1393 #endif 1393 #endif
1394 vim_snprintf((char *)buf, buflen, "%ld seconds ago", 1394 vim_snprintf((char *)buf, buflen, "%ld seconds ago",
1395 (long)(time(NULL) - tt)); 1395 (long)(time(NULL) - tt));