diff options
| author | Lenni <[email protected]> | 2021-03-10 20:38:43 +0100 |
|---|---|---|
| committer | Lenni <[email protected]> | 2021-03-10 20:38:58 +0100 |
| commit | 6bce073f59991e537566a658829f7526aa4bafa0 (patch) | |
| tree | a807c2fd4826bcb47078c742fd813a4d1b41cc77 /examples/shapes/main.go | |
| parent | cee3f874a09094a7a4ed493adf80fc7976746727 (diff) | |
minor fix
Diffstat (limited to 'examples/shapes/main.go')
| -rw-r--r-- | examples/shapes/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shapes/main.go b/examples/shapes/main.go index 5137f0b..4bc3ee3 100644 --- a/examples/shapes/main.go +++ b/examples/shapes/main.go @@ -216,7 +216,7 @@ func main() { if err != nil { fmt.Println("error reading event:", err) return - } else if evt == nil && err == nil { + } else if evt == nil { return } |
