浏览代码

getopt: Windows build fix

legacy
Sam Hocevar 9 年前
父节点
当前提交
96fc303163
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/sys/getopt.cpp

+ 1
- 1
src/sys/getopt.cpp 查看文件

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


正在加载...
取消
保存