Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jp7677/dxvk-nvapi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Peters <jp7677@gmail.com>2022-03-25 21:46:50 +0300
committerJens Peters <jp7677@gmail.com>2022-03-26 21:23:34 +0300
commit919b818f6fa6d34a3d2ff8de6c37da67214edcf3 (patch)
tree2a67fd197cc74703d833c0e31ae32ab032c46993
parentd0e37fae8c5b36ef7de0ba1fe86e5f5c3c73b56f (diff)
util: Formatting
-rw-r--r--src/util/util_string.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/util_string.cpp b/src/util/util_string.cpp
index b9dbd69..ae3e75b 100644
--- a/src/util/util_string.cpp
+++ b/src/util/util_string.cpp
@@ -3,7 +3,6 @@
namespace dxvk::str {
std::string fromws(const WCHAR* ws) {
auto len = ::WideCharToMultiByte(CP_UTF8, 0, ws, -1, nullptr, 0, nullptr, nullptr);
-
if (len <= 1)
return "";
@@ -21,7 +20,6 @@ namespace dxvk::str {
std::wstring tows(const char* mbs) {
auto len = ::MultiByteToWideChar(CP_UTF8, 0, mbs, -1, nullptr, 0);
-
if (len <= 1)
return L"";