mirror of https://github.com/encounter/SDL.git
haiku: Fixed unlocking clipboard twice.
This commit is contained in:
parent
4466b93141
commit
3ed2f0ca10
|
@ -61,8 +61,6 @@ char *BE_GetClipboardText(_THIS) {
|
|||
/* Presumably the string of characters is ascii-format */
|
||||
clip->FindData("text/plain", B_MIME_TYPE, (const void**)&text,
|
||||
&length);
|
||||
} else {
|
||||
be_clipboard->Unlock();
|
||||
}
|
||||
be_clipboard->Unlock();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue