Skip to content

Commit 2e73118

Browse files
committed
fixes #1057, RC compiler cannot specify output file
1 parent 1b601b2 commit 2e73118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/orc/rcMain.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ int rcMain::Run(int argc, char* argv[])
7676
#else
7777
int language = 0;
7878
#endif
79-
if (files.size() > 1 && !OutputFile.GetValue().empty())
79+
if (files.size() > 2 && !OutputFile.GetValue().empty())
8080
Utils::Fatal("Cannot specify output file for multiple input files");
8181
std::string sysSrchPth;
8282
std::string srchPth;

0 commit comments

Comments
 (0)