mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-13 02:10:37 +01:00
Apply patch by Jakub Hrozek to eliminate a compilation warning on Fedora
This commit is contained in:
parent
a2f9088d8d
commit
0a58a24763
@ -1279,7 +1279,7 @@ static int list_styles()
|
||||
fprintf (opt.outfile, "%s: ", shape_name[i]);
|
||||
else {
|
||||
space[strlen(shape_name[i])+2] = '\0';
|
||||
fprintf (opt.outfile, space);
|
||||
fprintf (opt.outfile, "%s", space);
|
||||
space[strlen(shape_name[i])+2] = ' ';
|
||||
}
|
||||
if (j < d->shape[i].height) {
|
||||
@ -1287,7 +1287,7 @@ static int list_styles()
|
||||
}
|
||||
else {
|
||||
space[d->shape[i].width+2] = '\0';
|
||||
fprintf (opt.outfile, space);
|
||||
fprintf (opt.outfile, "%s", space);
|
||||
space[d->shape[i].width+2] = ' ';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user