Skip to content

Commit 7513c62

Browse files
authored
Merge pull request #3227 from BsAtHome/backport_2.9_3200-3202
Backport issues 3200 and 3202
2 parents 16f4051 + 687b6af commit 7513c62

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/emc/rs274ngc/rs274ngc_return.hh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
#define NCE_EQUAL_SIGN_MISSING_IN_PARAMETER_SETTING _("Equal sign missing in parameter setting")
7878
#define NCE_F_WORD_MISSING_WITH_INVERSE_TIME_ARC_MOVE _("F word missing with inverse time arc move")
7979
#define NCE_F_WORD_MISSING_WITH_INVERSE_TIME_G1_MOVE _("F word missing with inverse time g1 move")
80-
#define NCE_FILE_ENDED_WITH_NO_PERCENT_SIGN _("File ended with no percent sign (%)")
81-
#define NCE_FILE_ENDED_WITH_NO_PERCENT_SIGN_OR_PROGRAM_END _("File ended with no percent sign (%) or program end (M2)")
80+
#define NCE_FILE_ENDED_WITH_NO_PERCENT_SIGN _("File ended with no percent sign (%%)")
81+
#define NCE_FILE_ENDED_WITH_NO_PERCENT_SIGN_OR_PROGRAM_END _("File ended with no percent sign (%%) or program end (M2)")
8282
#define NCE_FILE_NAME_TOO_LONG _("File name too long")
8383
#define NCE_G_CODE_OUT_OF_RANGE _("G-code out of range")
8484
#define NCE_I_WORD_GIVEN_FOR_ARC_IN_YZ_PLANE _("I word given for arc in yz plane")

src/libnml/nml/nmldiag.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@ int nml_print_diag_list()
131131
}
132132
rcs_print
133133
("\n*********************************************\n");
134-
if (NULL != nml->cms->BufferName) {
135-
rcs_print("* Buffer Name: %s\n", nml->cms->BufferName);
136-
}
134+
rcs_print("* Buffer Name: %s\n", nml->cms->BufferName);
137135
NML_DIAGNOSTICS_INFO *ndi = nml->get_diagnostics_info();
138136
if (NULL != ndi) {
139137
ndi->print();

0 commit comments

Comments
 (0)