blob: 7c1e15be2119cdb516eb0d917f5125be68816a9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/eb/readtext.c b/eb/readtext.c
index 6e3c218..e4dcf95 100644
--- a/eb/readtext.c
+++ b/eb/readtext.c
@@ -1560,7 +1560,7 @@ eb_is_text_stopped(EB_Book *book)
{
int is_stopped = 0;
- eb_lock(book);
+ eb_lock(&book->lock);
LOG(("in: eb_is_text_stopped(book=%d)", (int)book->code));
if (book->subbook_current != NULL) {
|