Files
gentoo/dev-libs/eb/files/eb-4.4.3-fix-threads.patch
2024-08-19 22:03:56 +03:00

14 lines
354 B
Diff

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) {