fix closeDocument return #34
If we don't return 0 lua just exits on us, breaking return to file chooser
This commit is contained in:
1 parent
5d9e51aadd
commit
4a5b12aaa4
2 files changed
+2
No files matched your search
@@ -117,6 +117,7 @@ static int closeDocument(lua_State *L) {
|
||||
|
||||
doc->context = NULL;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int getNumberOfPages(lua_State *L) {
|
||||
|
||||
Reference in new issue
Block a user