mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-12 06:35:04 +08:00
Used synergy::string::sprintf instead of append #4690
This commit is contained in:
@@ -63,8 +63,7 @@ ToolApp::run(int argc, char** argv)
|
||||
return kExitFailed;
|
||||
}
|
||||
else {
|
||||
String output("activeDesktop:");
|
||||
output.append(name);
|
||||
String output = synergy::string::sprintf("activeDesktop:%s", name.c_str());
|
||||
LOG((CLOG_INFO "%s", output.c_str()));
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user