diff --git a/display/d.labels/do_labels.c b/display/d.labels/do_labels.c index e7732147a4d..cb57ce1e652 100644 --- a/display/d.labels/do_labels.c +++ b/display/d.labels/do_labels.c @@ -78,7 +78,8 @@ int do_labels(FILE *infile, int do_rotation) snprintf(buff_fmt, sizeof(buff_fmt), "%%%ds", BUFFSIZE - 1); snprintf(font_fmt, sizeof(font_fmt), "%%%ds", FONTSIZE - 1); - snprintf(word_fmt, sizeof(word_fmt), "%%%ds%%%ds", WORDSIZE - 1, WORDSIZE - 1); + snprintf(word_fmt, sizeof(word_fmt), "%%%ds%%%ds", WORDSIZE - 1, + WORDSIZE - 1); initialize_options();