Changeset 2543 for libcaca


Ignore:
Timestamp:
Jul 16, 2008, 7:23:31 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • mygetopt.c: fix a parsing issue with short options.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/mygetopt.c

    r2299 r2543  
    6060        {
    6161            if(flag[2] != '\0')
    62                 myoptarg = tmp + 2;
     62                myoptarg = flag + 2;
    6363            else
    6464                myoptarg = argv[myoptind++];
Note: See TracChangeset for help on using the changeset viewer.