mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-14 15:31:49 +00:00
Merge pull request #205 from MihailRis/appimagetests
Branch for AppImage fixes test
This commit is contained in:
commit
d680ae1b10
2 changed files with 2 additions and 3 deletions
|
|
@ -26,9 +26,7 @@ AppDir:
|
||||||
- libglew2.1
|
- libglew2.1
|
||||||
- libpng16-16
|
- libpng16-16
|
||||||
- libopenal1
|
- libopenal1
|
||||||
- libopengl0
|
|
||||||
- libasound2
|
- libasound2
|
||||||
- libglx0
|
|
||||||
- libogg0
|
- libogg0
|
||||||
- libvorbis0a
|
- libvorbis0a
|
||||||
- libvorbisfile3
|
- libvorbisfile3
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
#define UTIL_COMMAND_LINE_HPP_
|
#define UTIL_COMMAND_LINE_HPP_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <cstring>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include "../files/engine_paths.hpp"
|
#include "../files/engine_paths.hpp"
|
||||||
|
|
@ -19,7 +20,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
bool hasNext() const {
|
bool hasNext() const {
|
||||||
return pos < argc;
|
return pos < argc && strlen(argv[pos]);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isKeywordArg() const {
|
bool isKeywordArg() const {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue