Browse Source

haiku: Fixed unlocking clipboard twice.

Philipp Wiesemann 8 years ago
parent
commit
3ed2f0ca10
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/video/haiku/SDL_bclipboard.cc

+ 0 - 2
src/video/haiku/SDL_bclipboard.cc

@@ -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();
 	}