mirror of
https://github.com/hyprwm/hyprwayland-scanner.git
synced 2024-11-26 12:05:58 +01:00
core: fix misused boolean
This commit is contained in:
parent
c14dd732ff
commit
f1050d83a2
1 changed files with 1 additions and 1 deletions
|
@ -756,7 +756,7 @@ int main(int argc, char** argv, char** envp) {
|
||||||
std::string content((std::istreambuf_iterator<char>(sourceIn)), (std::istreambuf_iterator<char>()));
|
std::string content((std::istreambuf_iterator<char>(sourceIn)), (std::istreambuf_iterator<char>()));
|
||||||
|
|
||||||
if (content == COPYRIGHT + SOURCE)
|
if (content == COPYRIGHT + SOURCE)
|
||||||
needsToWriteHeader = false;
|
needsToWriteSource = false;
|
||||||
|
|
||||||
sourceIn.close();
|
sourceIn.close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue