Skip to content

Commit 49b1d21

Browse files
committedFeb 13, 2020
Fix test
1 parent a324e5e commit 49b1d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎examples/gosfml_example_go/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func main() {
3030
/* Process events */
3131
for window.SfWindow_pollEvent(w, ev) > 0 {
3232
/* Close window: exit */
33-
if ev.GetXtype() == window.SfEventType(window.SfEvtClosed) {
33+
if ev.GetEvType() == window.SfEventType(window.SfEvtClosed) {
3434
return
3535
}
3636
}

0 commit comments

Comments
 (0)