Hello all
Thank you for lynx. It's a good piece of software. Unfortunately it
didn't completely fit my needs. When I downloaded a file the output of
how much time is still needed wasn't what I wanted. So I made it fit.
Find my patch attached to this mail. Maybe it will find the way into
lynx in the future. So long and keep pushing.
--
george aka Joerg Hahn
[email protected]
%%% Created Di 4. Sep 09:38:03 CEST 2012 by target lynx.patch. %%%
Nur in lynx2-8-7: config.cache.
Nur in lynx2-8-7: config.log.
Nur in lynx2-8-7: config.status.
Nur in lynx2-8-7: lynx_cfg.h.
Nur in lynx2-8-7: makefile.
Nur in lynx2-8-7/src/chrtrans: makefile.
diff -bru orig/lynx2-8-7/src/HTAlert.c lynx2-8-7/src/HTAlert.c
--- orig/lynx2-8-7/src/HTAlert.c 2009-04-26 18:24:31.000000000 +0200
+++ lynx2-8-7/src/HTAlert.c 2012-09-04 09:24:47.000000000 +0200
@@ -199,11 +199,11 @@
static char *sprint_tbuf(char *s, long t)
{
if (t > 3600)
- sprintf(s, "%ldh%ldm%lds", t / 3600, (t / 60) % 60, t % 60);
+ sprintf(s, "% 2ldh % 2ldm % 2lds", t / 3600, (t / 60) % 60, t % 60);
else if (t > 60)
- sprintf(s, "%ldm%lds", t / 60, t % 60);
+ sprintf(s, "% 2ldm % 2lds", t / 60, t % 60);
else
- sprintf(s, "%ld sec", t);
+ sprintf(s, "% 2ld sec", t);
return s;
}
#endif /* USE_READPROGRESS */
Nur in lynx2-8-7/src: makefile.
Nur in lynx2-8-7/WWW/Library/Implementation: makefile.
_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev