Up to [local] / src / games / battlestar
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_4_3_BASE
Revision 1.16 / (download) - annotate - [select for diffs], Sun Sep 9 17:10:02 2007 UTC (16 years, 8 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3
Changes since 1.15: +45 -38 lines
Diff to previous 1.15 (colored)
Move redundant prompt/fgets/sscanf lines into a function with appropriate checks, changing sscanf to strtonum in the process. Initial diff from Charles Longeau. OK moritz and chl.