projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure this builds with -DSERGEEV.
[super-star-trek.git]
/
finish.c
diff --git
a/finish.c
b/finish.c
index 7ae6c87780ec8f6e4b22fdb5505a4c0abefabc0a..e3ace26732e2fef5cb47715c2ab18ef5d1723374 100644
(file)
--- a/
finish.c
+++ b/
finish.c
@@
-393,7
+393,7
@@
void plaque(void) {
while (fp == NULL) {
proutn("File or device name for your plaque: ");
while (fp == NULL) {
proutn("File or device name for your plaque: ");
- getline(winner, sizeof(winner));
+
c
getline(winner, sizeof(winner));
fp = fopen(winner, "w");
if (fp==NULL) {
prout("Invalid name.");
fp = fopen(winner, "w");
if (fp==NULL) {
prout("Invalid name.");
@@
-401,7
+401,7
@@
void plaque(void) {
}
proutn("Enter name to go on plaque (up to 30 characters): ");
}
proutn("Enter name to go on plaque (up to 30 characters): ");
- getline(winner, sizeof(winner));
+
c
getline(winner, sizeof(winner));
/* The 38 below must be 64 for 132-column paper */
nskip = 38 - strlen(winner)/2;
/* The 38 below must be 64 for 132-column paper */
nskip = 38 - strlen(winner)/2;