From 9f3e1656338eb0a27997e1f2e4d1b0f41efca2e1 Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 11 Dec 2019 23:31:32 -0800 Subject: [PATCH] use proper Character size in default --- src/character/character.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/character/character.rs b/src/character/character.rs index ec2559c..89c68d7 100644 --- a/src/character/character.rs +++ b/src/character/character.rs @@ -136,7 +136,7 @@ impl Character { impl std::default::Default for Character { fn default() -> Character { - Character::from_bytes(&mut std::io::Cursor::new([0; 0x2000].to_vec())).unwrap() + Character::from_bytes(&mut std::io::Cursor::new([0; 0x190].to_vec())).unwrap() } }