[Haiku-commits] r29464 - haiku/trunk/src/kits/app
Stephan Aßmus
superstippi at gmx.de
Tue Mar 10 17:40:48 CET 2009
Alexandre Deckner schrieb:
> stippi at mail.berlios.de wrote:
>> Author: stippi
>> Date: 2009-03-10 15:32:59 +0100 (Tue, 10 Mar 2009)
>> New Revision: 29464
>> ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=29464&view=rev
>>
>> Modified:
>> haiku/trunk/src/kits/app/Message.cpp
>> Log:
>> In the assignment operator, watch out if the passed message is ourself.
>> Fixes a crash in WonderBrush when dragging images over the layer list
>> to import them and triggering auto-scrolling. WonderBrush caches the
>> drag message and appearantly calls it's own MouseMoved() hood with the
>> cached message from within the auto-scrolling code.
>>
>>
>> Modified: haiku/trunk/src/kits/app/Message.cpp
>> ===================================================================
>> --- haiku/trunk/src/kits/app/Message.cpp 2009-03-09 11:11:57 UTC (rev 29463)
>> +++ haiku/trunk/src/kits/app/Message.cpp 2009-03-10 14:32:59 UTC (rev 29464)
>> @@ -164,6 +164,9 @@
>> {
>> DEBUG_FUNCTION_ENTER;
>>
>> + if (this == &other)
>> + return *this;
>> +
>>
>>
> Nice :) Spaces instead of tabs though :P
What the... I specifically reconfigured Geany before doing the change.
:-\ Maybe it doesn't go for already loaded documents. Though the tab
width did change...
> Ps: This reminds me i always wanted to thank you for providing this
> unlocked version of WonderBrush. Very nice :)
You're welcome! :-) It's probably a temporary thing... until everyone
get's so used to it they can't live without it. Muahahaha!
Best regards,
-Stephan
More information about the Haiku-commits
mailing list