mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-31 03:53:14 +01:00
Fix a typo in Linux code.
This commit is contained in:
@@ -45,7 +45,7 @@ sys::Path GetUserHomeDirectory() {
|
||||
#else
|
||||
sys::Path GetUserHomeDirectory() {
|
||||
const char* home = getenv("HOME");
|
||||
Path result;
|
||||
sys::Path result;
|
||||
if (home && result.set(home))
|
||||
return result;
|
||||
result.set("/");
|
||||
|
||||
Reference in New Issue
Block a user