haiku: Fixed unlocking clipboard twice.

Philipp Wiesemann 2017-05-07 21:02:16 +02:00
parent 4466b93141
commit 3ed2f0ca10
1 changed files with 0 additions and 2 deletions

View File

@ -61,8 +61,6 @@ char *BE_GetClipboardText(_THIS) {
/* Presumably the string of characters is ascii-format */ /* Presumably the string of characters is ascii-format */
clip->FindData("text/plain", B_MIME_TYPE, (const void**)&text, clip->FindData("text/plain", B_MIME_TYPE, (const void**)&text,
&length); &length);
} else {
be_clipboard->Unlock();
} }
be_clipboard->Unlock(); be_clipboard->Unlock();
} }