bug-gnustep
[Top][All Lists]
Advanced

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

Re: bug-fix for NSView.m


From: Fred Kiefer
Subject: Re: bug-fix for NSView.m
Date: Fri, 08 Apr 2005 00:16:15 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040906

Thank you for this report. I applied a similar patch that hopefully makes the whole method a bit more understandable.

Fred

Matthias Hengartner wrote:
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
****************************


_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep







reply via email to

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