This commit is contained in:
RocketRobz 2018-10-05 20:18:37 -06:00
parent da4824a644
commit 82760f9fb3

View File

@ -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;