diff options
author | bunnei <ericbunnie@gmail.com> | 2014-04-01 18:20:08 -0400 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-04-01 18:48:08 -0400 |
commit | c9b5b89e21ba9ea844bfd5407bfe42f35076a35e (patch) | |
tree | 9ed57547ae2330aec9296b484393fa70e057c5b6 /src/common/src/misc.cpp | |
parent | 4860480c365710a0a788d3853558726c1ee28c82 (diff) |
convert tabs to spaces
Diffstat (limited to 'src/common/src/misc.cpp')
-rw-r--r-- | src/common/src/misc.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/common/src/misc.cpp b/src/common/src/misc.cpp index 5b9e38ff..93580547 100644 --- a/src/common/src/misc.cpp +++ b/src/common/src/misc.cpp @@ -18,20 +18,20 @@ // This function might change the error code. const char* GetLastErrorMsg() { - static const size_t buff_size = 255; + static const size_t buff_size = 255; #ifdef _WIN32 - static __declspec(thread) char err_str[buff_size] = {}; + static __declspec(thread) char err_str[buff_size] = {}; - FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM, NULL, GetLastError(), - MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), - err_str, buff_size, NULL); + FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM, NULL, GetLastError(), + MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), + err_str, buff_size, NULL); #else - static __thread char err_str[buff_size] = {}; + static __thread char err_str[buff_size] = {}; - // Thread safe (XSI-compliant) - strerror_r(errno, err_str, buff_size); + // Thread safe (XSI-compliant) + strerror_r(errno, err_str, buff_size); #endif - return err_str; + return err_str; } |