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

31 lines
723 B
Diff
Raw Normal View History

From: Stephen Kitt <skitt@debian.org>
Date: Mon, 11 Oct 2021 14:30:00 +0200
Subject: Add missing format strings
2023-07-28 07:55:00 -04:00
---
canfield/canfield/canfield.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/canfield/canfield/canfield.c b/canfield/canfield/canfield.c
index 1aa1d3f..39067cf 100644
--- a/canfield/canfield/canfield.c
+++ b/canfield/canfield/canfield.c
2023-07-28 07:55:00 -04:00
@@ -1647,7 +1647,7 @@ instruct()
return;
clear();
for (cp = basicinstructions; *cp != 0; cp++)
- printw(*cp);
+ printw("%s", *cp);
refresh();
getch();
clear();
2023-07-28 07:55:00 -04:00
@@ -1660,7 +1660,7 @@ instruct()
return;
clear();
for (cp = bettinginstructions; *cp != 0; cp++)
- printw(*cp);
+ printw("%s", *cp);
refresh();
getch();
}