Make core and vendor adhere to -vet, -strict-style, and -disallow-do
This commit is contained in:
1 parent
93593f4721
commit
344abf2cb2
48 files changed
+218
-189
No files matched your search
@@ -88,7 +88,9 @@ _open_file_dialog :: proc(title: string, dir: string,
|
||||
|
||||
// Filters need to be passed as a pair of strings (title, filter)
|
||||
filter_len := u32(len(filters))
|
||||
if filter_len % 2 != 0 do return "", false
|
||||
if filter_len % 2 != 0 {
|
||||
return "", false
|
||||
}
|
||||
|
||||
filter: string
|
||||
filter = strings.join(filters, "\u0000", context.temp_allocator)
|
||||
|
||||
Reference in new issue
Block a user