From 10cbff0ee26b9c8cfdb1bc7d847dffc4bc92b1ac Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sun, 3 Nov 2013 06:21:02 -0800 Subject: [PATCH] Fix crash when adjusting vertical zoom --- aegisub/src/block_cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/block_cache.h b/aegisub/src/block_cache.h index 69cf3e464..db7b83edc 100644 --- a/aegisub/src/block_cache.h +++ b/aegisub/src/block_cache.h @@ -199,7 +199,7 @@ public: { size_t block_count = data.size(); data.clear(); - SetBlockCount(block_count); + data.resize(block_count); age.clear(); return; }