mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-03-03 05:54:19 +01:00
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 */
|
/* 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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user