mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-01 17:37:38 +08:00
Task #3969 - Merge String.cpp and StringUtil.cpp
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "platform/MSWindowsUtil.h"
|
||||
|
||||
#include "base/StringUtil.h"
|
||||
#include "base/String.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -69,8 +69,8 @@ CMSWindowsUtil::getErrorString(HINSTANCE hinstance, DWORD error, DWORD id)
|
||||
(LPTSTR)&buffer,
|
||||
0,
|
||||
NULL) == 0) {
|
||||
CString errorString = CStringUtil::print("%d", error);
|
||||
return CStringUtil::format(getString(hinstance, id).c_str(),
|
||||
CString errorString = synergy::string::sprintf("%d", error);
|
||||
return synergy::string::format(getString(hinstance, id).c_str(),
|
||||
errorString.c_str());
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user