core: fix misused boolean

This commit is contained in:
Vaxry 2024-05-01 19:15:35 +01:00
parent c14dd732ff
commit f1050d83a2

View file

@ -756,7 +756,7 @@ int main(int argc, char** argv, char** envp) {
std::string content((std::istreambuf_iterator<char>(sourceIn)), (std::istreambuf_iterator<char>()));
if (content == COPYRIGHT + SOURCE)
needsToWriteHeader = false;
needsToWriteSource = false;
sourceIn.close();
}