Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed command line arguments ordering
  • Loading branch information
2448coder committed Jun 9, 2016
1 parent 881af6d commit be8eabb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions DiscImageCreator/DiscImageCreator.cpp
Expand Up @@ -1035,17 +1035,17 @@ int checkArg(int argc, _TCHAR* argv[], PEXEC_TYPE pExecType, PEXT_ARG pExtArg, _
else if (!_tcsncmp(argv[i - 1], _T("/p"), 2)) {
pExtArg->byPre = TRUE;
}
else if (!_tcsncmp(argv[i - 1], _T("/r"), 2)) {
pExtArg->byReverse = TRUE;
}
else if (!_tcsncmp(argv[i - 1], _T("/raw"), 4)) {
pExtArg->byRawDump = TRUE;
}
else if (!_tcsncmp(argv[i - 1], _T("/rc"), 3)) {
if (!SetOptionRc(argc, argv, pExtArg, &i)) {
return FALSE;
}
}
else if (!_tcsncmp(argv[i - 1], _T("/raw"), 4)) {
pExtArg->byRawDump = TRUE;
}
else if (!_tcsncmp(argv[i - 1], _T("/r"), 2)) {
pExtArg->byReverse = TRUE;
}
else if (!_tcsncmp(argv[i - 1], _T("/se"), 3)) {
pExtArg->byIntentionalSub = TRUE;
}
Expand Down

0 comments on commit be8eabb

Please sign in to comment.