Add newline before general settings in non-verbose mode.

This commit is contained in:
Serge Vakulenko 2018-09-05 17:38:13 -07:00
parent 4ea032d5ca
commit 24b6bafcaf
2 changed files with 4 additions and 4 deletions

View File

@ -727,8 +727,8 @@ static void print_id(FILE *out, int verbose)
unsigned id = gs->radio_id[0] | (gs->radio_id[1] << 8) | (gs->radio_id[2] << 16); unsigned id = gs->radio_id[0] | (gs->radio_id[1] << 8) | (gs->radio_id[2] << 16);
if (verbose) if (verbose)
fprintf(out, "\n# Unique DMR ID and name of this radio.\n"); fprintf(out, "\n# Unique DMR ID and name of this radio.");
fprintf(out, "ID: %u\nName: ", id); fprintf(out, "\nID: %u\nName: ", id);
if (VALID_TEXT(gs->radio_name)) { if (VALID_TEXT(gs->radio_name)) {
print_unicode(out, gs->radio_name, 16, 0); print_unicode(out, gs->radio_name, 16, 0);
} else { } else {

View File

@ -771,8 +771,8 @@ static void print_id(FILE *out, int verbose)
unsigned id = gs->radio_id[0] | (gs->radio_id[1] << 8) | (gs->radio_id[2] << 16); unsigned id = gs->radio_id[0] | (gs->radio_id[1] << 8) | (gs->radio_id[2] << 16);
if (verbose) if (verbose)
fprintf(out, "\n# Unique DMR ID and name of this radio.\n"); fprintf(out, "\n# Unique DMR ID and name of this radio.");
fprintf(out, "ID: %u\nName: ", id); fprintf(out, "\nID: %u\nName: ", id);
if (VALID_TEXT(gs->radio_name)) { if (VALID_TEXT(gs->radio_name)) {
print_unicode(out, gs->radio_name, 16, 0); print_unicode(out, gs->radio_name, 16, 0);
} else { } else {