Change General_Error.OK to nil
This commit is contained in:
1 parent
ca0f36be42
commit
9a39ce6b75
8 files changed
+53
-54
No files matched your search
@@ -33,7 +33,7 @@ main :: proc() {
|
||||
err := zlib.inflate(ODIN_DEMO, &buf);
|
||||
defer bytes.buffer_destroy(&buf);
|
||||
|
||||
if err != zlib.E_General.OK {
|
||||
if err != nil {
|
||||
fmt.printf("\nError: %v\n", err);
|
||||
}
|
||||
s := bytes.buffer_to_string(&buf);
|
||||
|
||||
Reference in new issue
Block a user