aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2013-09-19 03:45:29 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2013-09-19 03:45:29 -0700
commitb4355ccaf7ebe5a52d972bac6986e1ad600b524a (patch)
tree76faeb8e0dffe5f0ac62fdc283c2d25ef777a4c7
parentd969c2c073d4fe91b22615c90c86b74545bd8b71 (diff)
parent367c29d6e043c809b28d5055f641b86c87cb1d5d (diff)
Merge pull request #3019 from sipa/fugbix
Bugfix: nHeightLast instead of nHeightFirst
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 952917cebe..7ce353d082 100644
--- a/src/main.h
+++ b/src/main.h
@@ -655,7 +655,7 @@ public:
if (nBlocks==0 || nTimeFirst > nTimeIn)
nTimeFirst = nTimeIn;
nBlocks++;
- if (nHeightIn > nHeightFirst)
+ if (nHeightIn > nHeightLast)
nHeightLast = nHeightIn;
if (nTimeIn > nTimeLast)
nTimeLast = nTimeIn;