mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Fix incorrect return values in getProcessorInfo
This commit is contained in:
parent
b5eb943c1d
commit
e213a47814
1 changed files with 2 additions and 2 deletions
|
@ -939,11 +939,11 @@ bool getProcessorInfo(ProcessorInfo& info) {
|
|||
|
||||
if (NULL == buffer) {
|
||||
qDebug() << "Error: Allocation failure";
|
||||
return (2);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
qDebug() << "Error " << GetLastError();
|
||||
return (3);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
done = true;
|
||||
|
|
Loading…
Reference in a new issue