summaryrefslogtreecommitdiff
path: root/src/options.cpp
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2013-04-23 10:25:26 -0600
committerMike Buland <mike@xagasoft.com>2013-04-23 10:25:26 -0600
commit9f138260dafeb5a1b541fff8dd577422439feb0b (patch)
tree148cecf83d8af00679fdde57a6b31a18f65e0296 /src/options.cpp
parente6401f9af190cfbaaab1dc5589546ba5cc2f5293 (diff)
downloadclic-9f138260dafeb5a1b541fff8dd577422439feb0b.tar.gz
clic-9f138260dafeb5a1b541fff8dd577422439feb0b.tar.bz2
clic-9f138260dafeb5a1b541fff8dd577422439feb0b.tar.xz
clic-9f138260dafeb5a1b541fff8dd577422439feb0b.zip
Fixed random zeros bug.0.03
They weren't that random, the resize routine in PackedIntArray was written poorly. It was growing too much and computing the size of the original array incorrectly, so not all the data was being copied every time.
Diffstat (limited to 'src/options.cpp')
-rw-r--r--src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.cpp b/src/options.cpp
index 89397f4..4fcf1e2 100644
--- a/src/options.cpp
+++ b/src/options.cpp
@@ -17,7 +17,7 @@ Options::~Options()
17{ 17{
18} 18}
19 19
20int Options::selfTest( Bu::StringArray aArgs ) 20int Options::selfTest( Bu::StringArray )
21{ 21{
22 UnitNumber().run(); 22 UnitNumber().run();
23 23