Another misplaced getopt global squashed in prospector.

develop
Petr Mrázek 2011-05-03 00:10:56 +02:00
parent ec2fc375fb
commit 97df735db5
1 changed files with 1 additions and 2 deletions

@ -29,9 +29,8 @@ bool parseOptions(int argc, char **argv, bool &showHidden, bool &showPlants,
bool &showSlade, bool &showTemple)
{
char c;
opterr = 0;
xgetopt opt(argc, argv, "apst");
opt.opterr = 0;
while ((c = opt()) != -1)
{
switch (c)