Fix loads of indentation issues with mixing spaces and tabs

This commit is contained in:
gingerBill
2024-06-29 19:50:51 +01:00
parent 90244a0849
commit e296d6fb90
34 changed files with 760 additions and 763 deletions
+2 -2
View File
@@ -111,7 +111,7 @@ read_entire_file_from_handle :: proc(fd: Handle, allocator := context.allocator,
length: i64
err: Errno
if length, err = file_size(fd); err != 0 {
return nil, false
return nil, false
}
if length <= 0 {
@@ -120,7 +120,7 @@ read_entire_file_from_handle :: proc(fd: Handle, allocator := context.allocator,
data = make([]byte, int(length), allocator, loc)
if data == nil {
return nil, false
return nil, false
}
bytes_read, read_err := read_full(fd, data)
+1 -1
View File
@@ -896,7 +896,7 @@ access :: proc(path: string, mask: int) -> bool {
}
flush :: proc(fd: Handle) -> Errno {
return cast(Errno)_unix_fsync(fd)
return cast(Errno)_unix_fsync(fd)
}
lookup_env :: proc(key: string, allocator := context.allocator) -> (value: string, found: bool) {
+2 -2
View File
@@ -178,8 +178,8 @@ WINDOWS_11_BUILD_CUTOFF :: 22_000
get_windows_version_w :: proc() -> win32.OSVERSIONINFOEXW {
osvi : win32.OSVERSIONINFOEXW
osvi.dwOSVersionInfoSize = size_of(win32.OSVERSIONINFOEXW)
win32.RtlGetVersion(&osvi)
return osvi
win32.RtlGetVersion(&osvi)
return osvi
}
is_windows_xp :: proc() -> bool {