# HG changeset patch
# User John "Elwin" Edwards
# Date 1421878895 18000
# Node ID 12a733792e0bee41b8cc529639c260ae8688772e
# Parent  674e8899703b5c62294079cbc43552e8650c27e0
Fix a use of the wrong variable name.

diff -r 674e8899703b -r 12a733792e0b rlgterm.js
--- a/rlgterm.js	Tue Jan 20 16:06:12 2015 -0500
+++ b/rlgterm.js	Wed Jan 21 17:21:35 2015 -0500
@@ -907,7 +907,7 @@
   var hours = Math.floor(minutes / 60);
   if (hours < 24)
     return String(hours) + " hr " + String(minutes % 60) + " min";
-  var days = Math.floor(days / 24);
+  var days = Math.floor(hours / 24);
   if (days == 1)
     return "1 day " + String(hours % 24) + " hr";
   else