[Haiku-commits] r29728 - haiku/trunk/src/kits/interface

aldeck at BerliOS aldeck at mail.berlios.de
Thu Mar 26 14:33:37 CET 2009


Author: aldeck
Date: 2009-03-26 14:33:36 +0100 (Thu, 26 Mar 2009)
New Revision: 29728
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=29728&view=rev

Modified:
   haiku/trunk/src/kits/interface/Dragger.cpp
Log:
* Return B_ERROR if the window couldn't be locked, thanks stippi


Modified: haiku/trunk/src/kits/interface/Dragger.cpp
===================================================================
--- haiku/trunk/src/kits/interface/Dragger.cpp	2009-03-26 11:07:45 UTC (rev 29727)
+++ haiku/trunk/src/kits/interface/Dragger.cpp	2009-03-26 13:33:36 UTC (rev 29728)
@@ -123,7 +123,8 @@
 			if (ret == B_OK)
 				ret = data->AddMessage("_popup", &popupMsg);
 			fPopUp->Window()->Unlock();
-		}
+		} else
+			ret = B_ERROR;
 	}
 
 	if (ret == B_OK)




More information about the Haiku-commits mailing list