mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix struct parameter bugs
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ read_entire_file :: proc(name: string) -> (data: []u8, success: bool) {
|
||||
return nil, false;
|
||||
}
|
||||
|
||||
if length == 0 {
|
||||
if length <= 0 {
|
||||
return nil, true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user