mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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
djvu.c
1
djvu.c
@@ -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