projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a comment and a variable initialization.
[mmh]
/
sbr
/
getans.c
diff --git
a/sbr/getans.c
b/sbr/getans.c
index
919fd32
..
af882d5
100644
(file)
--- a/
sbr/getans.c
+++ b/
sbr/getans.c
@@
-52,15
+52,15
@@
getans(char *prompt, struct swit *ansp)
}
cpp = brkstring(ansbuf, " ", NULL);
switch (smatch(*cpp, ansp)) {
}
cpp = brkstring(ansbuf, " ", NULL);
switch (smatch(*cpp, ansp)) {
- case AMBIGSW:
- ambigsw(*cpp, ansp);
- continue;
- case UNKWNSW:
- printf(" -%s unknown. Hit <CR> for help.\n", *cpp);
- continue;
- default:
- SIGNAL(SIGINT, istat);
- return cpp;
+ case AMBIGSW:
+ ambigsw(*cpp, ansp);
+ continue;
+ case UNKWNSW:
+ printf(" -%s unknown. Hit <CR> for help.\n", *cpp);
+ continue;
+ default:
+ SIGNAL(SIGINT, istat);
+ return cpp;
}
}
}
}
}
}