This website works better with JavaScript.
Home
Help
Sign In
cacalabs
/
libcaca
mirror of
https://github.com/cacalabs/libcaca.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
7
Wiki
Activity
Browse Source
* mygetopt.c: fix a parsing issue with short options.
tags/v0.99.beta14
Sam Hocevar
sam
16 years ago
parent
087605fc9e
commit
6a61202a28
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/mygetopt.c
+ 1
- 1
src/mygetopt.c
View File
@@ -59,7 +59,7 @@ int mygetopt(int argc, char * const _argv[], const char *optstring,
if(tmp[1] == ':')
{
if(flag[2] != '\0')
myoptarg =
tmp
+ 2;
myoptarg =
flag
+ 2;
else
myoptarg = argv[myoptind++];
return ret;
Write
Preview
Loading…
Cancel
Save