lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Bug-fix patch for WIN_EX


From: Doug Kaufman
Subject: lynx-dev Bug-fix patch for WIN_EX
Date: Thu, 18 Nov 1999 23:03:54 -0800 (PST)

The WIN_EX Win32 port wasn't handling SHOW_KB_RATE the same way as other
ports. Setting it to false changed the rate to bytes/sec, but left the
amount received still in KB. The following seems to fix it.
                              Doug

--- lynx2-8-3/src/HTAlert.c     Wed Nov  3 18:41:40 1999
+++ lynx2-8-3/src/HTAlert.c.new Thu Nov 18 22:38:02 1999
@@ -238,7 +238,7 @@
            last = now;
            bytes_last = bytes;
        }
-       if (total >= kb_units || bytes >= kb_units) {
+       if (LYshow_kb_rate && (total >= kb_units || bytes >= kb_units)) {
            if (total > 0)
                total /= 1024;
            bytes /= 1024;

__
Doug Kaufman
Internet: address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]