From 2cd0139cbfa4c5c297b570759c1716b08868cd3b Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Fri, 17 May 2024 09:01:37 -0400 Subject: [PATCH] Remove extra NeedRIGHT in textbox parser Fixes https://gitlab.com/kicad/code/kicad/-/issues/18033 --- pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr_parser.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr_parser.cpp b/pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr_parser.cpp index a86031ebce..2fee4a443f 100644 --- a/pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr_parser.cpp +++ b/pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr_parser.cpp @@ -3396,8 +3396,6 @@ PCB_TEXTBOX* PCB_IO_KICAD_SEXPR_PARSER::parsePCB_TEXTBOX( BOARD_ITEM* aParent ) while( (token = NextTok() ) != T_RIGHT ) parseOutlinePoints( textbox->GetPolyShape().Outline( 0 ) ); - - NeedRIGHT(); break; }