Selaa lähdekoodia

getopt: Windows build fix

legacy
Sam Hocevar 8 vuotta sitten
vanhempi
commit
96fc303163
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/sys/getopt.cpp

+ 1
- 1
src/sys/getopt.cpp Näytä tiedosto

@@ -169,7 +169,7 @@ int getopt::parse()
++this->index;
if (m_private->m_opts[i].has_arg)
{
if (this->index >= m_private->argc)
if (this->index >= m_private->m_argc)
goto too_few;
this->arg = argv[this->index++];
}


Ladataan…
Peruuta
Tallenna