1
0
mirror of https://salsa.debian.org/games-team/bsdgames synced 2024-12-04 14:46:22 -05:00
bsdgames/debian/patches/0018-Add-missing-format-strings.patch
2021-10-11 14:33:14 +02:00

25 lines
505 B
Diff

From: Stephen Kitt <skitt@debian.org>
Date: Mon, 11 Oct 2021 14:30:00 +0200
Subject: Add missing format strings
--- a/canfield/canfield/canfield.c
+++ b/canfield/canfield/canfield.c
@@ -1647,7 +1647,7 @@
return;
clear();
for (cp = basicinstructions; *cp != 0; cp++)
- printw(*cp);
+ printw("%s", *cp);
refresh();
getch();
clear();
@@ -1660,7 +1660,7 @@
return;
clear();
for (cp = bettinginstructions; *cp != 0; cp++)
- printw(*cp);
+ printw("%s", *cp);
refresh();
getch();
}