mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-23 09:43:24 +03:00
Used log system instead of stdout #4690
This commit is contained in:
parent
b34044ec6a
commit
f063b094ec
@ -565,7 +565,7 @@ MSWindowsWatchdog::testOutput(String buffer)
|
||||
if (i != String::npos) {
|
||||
size_t s = sizeof(g_activeDesktop);
|
||||
String defaultDesktop("Default");
|
||||
String sub = buffer.substr(s - 1, defaultDesktop.size());
|
||||
String sub = buffer.substr(i + s - 1, defaultDesktop.size());
|
||||
if (sub != defaultDesktop) {
|
||||
m_autoElevated = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user