aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2023-01-23 20:15:28 +0100
committerPierre Ossman <ossman@cendio.se>2023-02-04 14:03:13 +0100
commitfd243a8d3ae8e776fb2af1136feee7f8c083d2da (patch)
tree71cd7b2fcac7d398154afe58a579d87d7fadf9bd /win/rfb_win32
parent3143bfa1545c2aa70781c5c780df7e66f123614f (diff)
downloadtigervnc-fd243a8d3ae8e776fb2af1136feee7f8c083d2da.tar.gz
tigervnc-fd243a8d3ae8e776fb2af1136feee7f8c083d2da.zip
Remove "str" prefix from string helpers
This matches the naming in STL, which is what we are mostly mimicing now that we are using std::string for these functions.
Diffstat (limited to 'win/rfb_win32')
-rw-r--r--win/rfb_win32/Service.cxx2
-rw-r--r--win/rfb_win32/Win32Util.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/win/rfb_win32/Service.cxx b/win/rfb_win32/Service.cxx
index 259eb762..62230b07 100644
--- a/win/rfb_win32/Service.cxx
+++ b/win/rfb_win32/Service.cxx
@@ -323,7 +323,7 @@ bool rfb::win32::registerService(const char* name,
// - Add the supplied extra parameters to the command line
std::string cmdline;
- cmdline = strFormat("\"%s\" %s", buffer.buf, defaultcmdline);
+ cmdline = format("\"%s\" %s", buffer.buf, defaultcmdline);
for (i=0; i<argc; i++) {
cmdline += " \"";
cmdline += argv[i];
diff --git a/win/rfb_win32/Win32Util.cxx b/win/rfb_win32/Win32Util.cxx
index 002bf2bd..ed6b70cb 100644
--- a/win/rfb_win32/Win32Util.cxx
+++ b/win/rfb_win32/Win32Util.cxx
@@ -74,7 +74,7 @@ const char* FileVersionInfo::getVerString(const char* name, DWORD langId) {
std::string langIdStr(binToHex(langIdBuf, sizeof(langId)));
std::string infoName;
- infoName = strFormat("\\StringFileInfo\\%s\\%s", langIdStr.c_str(), name);
+ infoName = format("\\StringFileInfo\\%s\\%s", langIdStr.c_str(), name);
// Locate the required version string within the version info
char* buffer = 0;