bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug-fix for NSView.m


From: Matthias Hengartner
Subject: bug-fix for NSView.m
Date: Thu, 7 Apr 2005 15:22:52 +0200

Hello,

I found a bug in NSView.m and fixed it (not a big deal). Below, I send you
the changeLog entry and de diff-file. I hope that this is what you need (I'm
a GNUstep- and OpenSource-Newbie...). Otherwise, I'd answer your questions
concerning this bug.

Best regards from Zurich
Matthias Hengartner



************ changeLog entry *************

2005-04-07  root  <hengartner at ivt dot baug dot ethz dot ch>

 * NSView.m ([NSView -addSubview:positioned:relativeTo:]):

***************************************



************ diff file *********************

--- NSViewOld.m 2004-10-18 03:48:15.000000000 +0200
+++ NSView.m    2005-04-07 14:12:25.000000000 +0200
@@ -472,7 +472,7 @@
       if (place == NSWindowBelow)
        index = 0;
       else
-       index = [_sub_views count];
+       index = [_sub_views count]-1;
     }
   RETAIN(aView);
   [aView removeFromSuperview];

***************************************






****************************
Matthias Hengartner
IVT ETH Z├╝rich
hengartner@ivt.baug.ethz.ch
++ 41 44 633 68 16
****************************




reply via email to

[Prev in Thread] Current Thread [Next in Thread]