Yet more clang-formatting
This commit is contained in:
@@ -884,12 +884,12 @@ plat_mmap(size_t size, uint8_t executable)
|
||||
}
|
||||
|
||||
void
|
||||
plat_get_global_config_dir(char* strptr)
|
||||
plat_get_global_config_dir(char *strptr)
|
||||
{
|
||||
wchar_t appdata_dir[1024] = { L'\0' };
|
||||
|
||||
if (_wgetenv(L"LOCALAPPDATA") && _wgetenv(L"LOCALAPPDATA")[0] != L'\0') {
|
||||
size_t len = 0;
|
||||
size_t len = 0;
|
||||
wcsncpy(appdata_dir, _wgetenv(L"LOCALAPPDATA"), 1024);
|
||||
len = wcslen(appdata_dir);
|
||||
if (appdata_dir[len - 1] != L'\\') {
|
||||
|
||||
Reference in New Issue
Block a user