From 20a38fc334f888dd24cac77734d0a8290c9cef2a Mon Sep 17 00:00:00 2001 From: Pyrophorus Date: Wed, 7 Aug 2013 15:20:06 +0200 Subject: [PATCH] Fixing a typo (error). --- src/generators/yamg/yamg_hexheap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/yamg/yamg_hexheap.cpp b/src/generators/yamg/yamg_hexheap.cpp index 2a5ba9f17c1..4852aa316a9 100644 --- a/src/generators/yamg/yamg_hexheap.cpp +++ b/src/generators/yamg/yamg_hexheap.cpp @@ -106,7 +106,7 @@ int yamg_hexheap::test_hex() { Clear all members flag and reset the heap itself */ void yamg_hexheap::clear_heap() { - for(int i = 0; i > last_; i++) + for(int i = 0; i < last_; i++) table_[i]->done = false; last_ = 0; }