Permalink
Browse files

Fix example.

  • Loading branch information...
1 parent bafe3be commit 1993a533764495e2dc84bc3ec92502916cab31e5 @mbalmer mbalmer committed Apr 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 hello.lua
View
@@ -8,7 +8,7 @@ button = PushButton {
}
SetLanguageProc(nil, nil, nil)
-toplevel, app = Initialize("XLua")
+app, toplevel = Initialize("XLua")
Realize(toplevel, button)
-MainLoop(app)
+app:MainLoop()

0 comments on commit 1993a53

Please sign in to comment.