[Commits] SDL: haiku: Fixed unlocking clipboard twice.

libsdl.org revision control commits-owner at libsdl.org
Sun May 7 12:10:20 PDT 2017


details:   https://hg.libsdl.org/SDL/rev/57a9841b0259
changeset: 10992:57a9841b0259
user:      Philipp Wiesemann <philipp.wiesemann at arcor.de>
date:      Sun May 07 21:02:16 2017 +0200
description:
haiku: Fixed unlocking clipboard twice.

diffstat:

 src/video/haiku/SDL_bclipboard.cc |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r d5f65647a97e -r 57a9841b0259 src/video/haiku/SDL_bclipboard.cc
--- a/src/video/haiku/SDL_bclipboard.cc	Sat May 06 21:46:11 2017 +0200
+++ b/src/video/haiku/SDL_bclipboard.cc	Sun May 07 21:02:16 2017 +0200
@@ -61,8 +61,6 @@
 			/* 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();
 	} 


More information about the commits mailing list