Eeschema: fix new schematic file format image parser buffer size.

Fixes https://gitlab.com/kicad/code/kicad/issues/4387
This commit is contained in:
Wayne Stambaugh 2020-05-10 08:47:42 -04:00
parent 632494cba7
commit 8c2aee1261
1 changed files with 1 additions and 1 deletions

View File

@ -2172,7 +2172,7 @@ SCH_BITMAP* SCH_SEXPR_PARSER::parseImage()
// Reserve 128K because most image files are going to be larger than the default
// 1K that wxString reserves.
data.reserve( 2^17 );
data.reserve( 1 << 17 );
while( token != T_RIGHT )
{