mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
bug fix
This commit is contained in:
parent
da4824a644
commit
82760f9fb3
@ -142,7 +142,8 @@ int main(int argc, char **argv) {
|
||||
pathLen = strlen (filePath);
|
||||
vector<char*> argarray;
|
||||
|
||||
if ( strcasecmp (filename.c_str() + filename.size() - 5, ".argv") == 0) {
|
||||
if ((strcasecmp (filename.c_str() + filename.size() - 5, ".argv") == 0)
|
||||
|| (strcasecmp (filename.c_str() + filename.size() - 5, ".ARGV") == 0)) {
|
||||
|
||||
FILE *argfile = fopen(filename.c_str(),"rb");
|
||||
char str[PATH_MAX], *pstr;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user