Fixed typo on mutex

This commit is contained in:
Moritz Lipp 2010-05-11 20:55:21 +02:00
parent 5a0e067dce
commit 88d76762f5

View File

@ -1151,7 +1151,7 @@ search(void* parameter)
g_static_mutex_lock(&(Zathura.Lock.document_lock));
if(!Zathura.PDF.document || !search_item || !strlen(search_item))
{
g_static_mutex_lock(&(Zathura.Lock.document_lock));
g_static_mutex_unlock(&(Zathura.Lock.document_lock));
g_static_mutex_lock(&(Zathura.Lock.search_lock));
Zathura.Thread.search_thread_running = FALSE;
g_static_mutex_unlock(&(Zathura.Lock.search_lock));