Soft'N'Design Software
/
projects
/
bs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
742c1ab
)
clean
author
Laurent Mazet
<mazet@softndesign.org>
Thu, 23 May 2024 20:18:06 +0000
(22:18 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Thu, 23 May 2024 20:18:06 +0000
(22:18 +0200)
battleships.c
patch
|
blob
|
blame
|
history
diff --git
a/battleships.c
b/battleships.c
index 0f91fa634bd4117870ba4bfc86bff2351a541d07..d04328f369aa136e199ebedead9a8c77a9738576 100644
(file)
--- a/
battleships.c
+++ b/
battleships.c
@@
-39,7
+39,7
@@
int main (int argc, char *argv[])
}
/* process argument */
-
while (argc-- > 1) {
+ while (argc-- > 1) {
char *arg = *(++argv);
if (arg[0] != '-') {
VERBOSE (ERROR, fprintf (stderr, "%s: invalid option -- %s\n", progname, arg));