mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
Closes: https://bugs.gentoo.org/920641 Signed-off-by: xz-dev <xiangzhedev@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37731 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
14 lines
354 B
Diff
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) {
|