From 4bf52b926606f823c7701292988b4143650b4a8f Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Mon, 25 Feb 2019 14:09:18 +0100 Subject: [PATCH] Gerber output: add missing end of block to a structured comment in X1 format. the comment line G04 #@! TF.CreationDate ... was missing the * (end of block) symbol. Fixes: lp:1817547 https://bugs.launchpad.net/kicad/+bug/1817547 --- common/gbr_metadata.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/gbr_metadata.cpp b/common/gbr_metadata.cpp index 4373b30895..ba1d6923e2 100644 --- a/common/gbr_metadata.cpp +++ b/common/gbr_metadata.cpp @@ -1,8 +1,8 @@ /* * This program source code file is part of KiCad, a free EDA CAD application. * - * Copyright (C) 2018 Jean-Pierre Charras, jp.charras at wanadoo.fr - * Copyright (C) 2018 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2019 Jean-Pierre Charras, jp.charras at wanadoo.fr + * Copyright (C) 2019 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -58,7 +58,7 @@ wxString GbrMakeCreationDateAttributeString( GBR_NC_STRING_FORMAT aFormat ) break; case GBR_NC_STRING_FORMAT_X1: - msg.Printf( "G04 #@! TF.CreationDate,%s%s", date.FormatISOCombined(), timezone_offset ); + msg.Printf( "G04 #@! TF.CreationDate,%s%s*", date.FormatISOCombined(), timezone_offset ); break; case GBR_NC_STRING_FORMAT_GBRJOB: @@ -66,7 +66,7 @@ wxString GbrMakeCreationDateAttributeString( GBR_NC_STRING_FORMAT aFormat ) break; case GBR_NC_STRING_FORMAT_NCDRILL: - msg.Printf( "; #@! TF.CreationDate,%s%s", date.FormatISOCombined(), timezone_offset ); + msg.Printf( "; #@! TF.CreationDate,%s%s*", date.FormatISOCombined(), timezone_offset ); break; } return msg;