mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: generate indents for more readable C code
This commit is contained in:
@@ -762,6 +762,9 @@ pub fn home_dir() string {
|
||||
$if windows {
|
||||
return os.getenv('USERPROFILE') + os.path_separator
|
||||
} $else {
|
||||
//println('home_dir() call')
|
||||
//res:= os.getenv('HOME') + os.path_separator
|
||||
//println('res="$res"')
|
||||
return os.getenv('HOME') + os.path_separator
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user