summaryrefslogtreecommitdiff
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorGravatar James Rowe2018-07-02 10:13:26 -0600
committerGravatar bunnei2018-07-02 21:45:47 -0400
commit638956aa81de255bf4bbd4e69a717eabf4ceadb9 (patch)
tree5783dda790575e047fa757d8c56e11f3fffe7646 /src/common/string_util.cpp
parentMerge pull request #608 from Subv/depth (diff)
downloadyuzu-638956aa81de255bf4bbd4e69a717eabf4ceadb9.tar.gz
yuzu-638956aa81de255bf4bbd4e69a717eabf4ceadb9.tar.xz
yuzu-638956aa81de255bf4bbd4e69a717eabf4ceadb9.zip
Rename logging macro back to LOG_*
Diffstat (limited to 'src/common/string_util.cpp')
-rw-r--r--src/common/string_util.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp
index 646400db0..ea9d8f77c 100644
--- a/src/common/string_util.cpp
+++ b/src/common/string_util.cpp
@@ -281,7 +281,7 @@ static std::string CodeToUTF8(const char* fromcode, const std::basic_string<T>&
281 281
282 iconv_t const conv_desc = iconv_open("UTF-8", fromcode); 282 iconv_t const conv_desc = iconv_open("UTF-8", fromcode);
283 if ((iconv_t)(-1) == conv_desc) { 283 if ((iconv_t)(-1) == conv_desc) {
284 NGLOG_ERROR(Common, "Iconv initialization failure [{}]: {}", fromcode, strerror(errno)); 284 LOG_ERROR(Common, "Iconv initialization failure [{}]: {}", fromcode, strerror(errno));
285 iconv_close(conv_desc); 285 iconv_close(conv_desc);
286 return {}; 286 return {};
287 } 287 }
@@ -310,7 +310,7 @@ static std::string CodeToUTF8(const char* fromcode, const std::basic_string<T>&
310 ++src_buffer; 310 ++src_buffer;
311 } 311 }
312 } else { 312 } else {
313 NGLOG_ERROR(Common, "iconv failure [{}]: {}", fromcode, strerror(errno)); 313 LOG_ERROR(Common, "iconv failure [{}]: {}", fromcode, strerror(errno));
314 break; 314 break;
315 } 315 }
316 } 316 }
@@ -329,7 +329,7 @@ std::u16string UTF8ToUTF16(const std::string& input) {
329 329
330 iconv_t const conv_desc = iconv_open("UTF-16LE", "UTF-8"); 330 iconv_t const conv_desc = iconv_open("UTF-16LE", "UTF-8");
331 if ((iconv_t)(-1) == conv_desc) { 331 if ((iconv_t)(-1) == conv_desc) {
332 NGLOG_ERROR(Common, "Iconv initialization failure [UTF-8]: {}", strerror(errno)); 332 LOG_ERROR(Common, "Iconv initialization failure [UTF-8]: {}", strerror(errno));
333 iconv_close(conv_desc); 333 iconv_close(conv_desc);
334 return {}; 334 return {};
335 } 335 }
@@ -358,7 +358,7 @@ std::u16string UTF8ToUTF16(const std::string& input) {
358 ++src_buffer; 358 ++src_buffer;
359 } 359 }
360 } else { 360 } else {
361 NGLOG_ERROR(Common, "iconv failure [UTF-8]: {}", strerror(errno)); 361 LOG_ERROR(Common, "iconv failure [UTF-8]: {}", strerror(errno));
362 break; 362 break;
363 } 363 }
364 } 364 }