Browse files

Fixed a segfault when the Close button in the about dialog box is cli…

…cked.
  • Loading branch information...
1 parent 9968fd1 commit b9ddcaea0869d99c4c1180dd5fb99f56775dd99f @dom96 dom96 committed Dec 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 AboutDialog.nim
View
2 AboutDialog.nim
@@ -10,7 +10,7 @@ type
PAboutDialog* = ref TAboutDialog
-proc closeBtn_click(btn: PButton, dummy: pointer) =
+proc closeBtn_click(btn: PButton, dummy: pointer) {.cdecl.} =
# Kinda hackish.
btn.parent.parent.parent.destroy()

0 comments on commit b9ddcae

Please sign in to comment.