瀏覽代碼

haiku: Fixed unlocking clipboard twice.

Philipp Wiesemann 8 年之前
父節點
當前提交
3ed2f0ca10
共有 1 個文件被更改,包括 0 次插入2 次删除
  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();
 	}