Skip to content

Commit

Permalink
Update display/d.labels/do_labels.c
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
ShubhamDesai and github-actions[bot] authored Jul 12, 2024
1 parent b5d55de commit 4fac5b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion display/d.labels/do_labels.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ int do_labels(FILE *infile, int do_rotation)
}
}
else if (!strncmp(text, "fon", 3)) {
if (sscanf(text, "%*s %255s", font) != 1 || !strcmp(font, "standard"))
if (sscanf(text, "%*s %255s", font) != 1 ||
!strcmp(font, "standard"))
strcpy(font, std_font);
}
else if (!strncmp(text, "rot", 3)) {
Expand Down

0 comments on commit 4fac5b4

Please sign in to comment.