Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-05-12 22:04:24 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-05-12 22:04:24 +0400
commit57c626d11c0b2d0ed7cce7e60c863477f87d8ebd (patch)
treecb2c47bfc5235cf5db9de1339c71456509ce65af /intern
parent1d6278f80a62191a4b2259f4da5d82945a396c6f (diff)
Forgot to close clipboard when lock fails.
Thanks to jesterKing!
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_SystemWin32.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp
index 92066d5f794..143f7e97f2d 100644
--- a/intern/ghost/intern/GHOST_SystemWin32.cpp
+++ b/intern/ghost/intern/GHOST_SystemWin32.cpp
@@ -1186,6 +1186,7 @@ GHOST_TUns8* GHOST_SystemWin32::getClipboard(bool selection) const
}
buffer = (char*)GlobalLock( hData );
if (!buffer) {
+ CloseClipboard();
return NULL;
}