From 2635abce6c13b7fb8fddea2bdbaddb9feb460846 Mon Sep 17 00:00:00 2001 From: Richard Frith-MacDonald Date: Tue, 3 Feb 2009 15:43:16 +0000 Subject: [PATCH] improve comment git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27765 72102866-910b-0410-8b05-ffd578937521 --- Headers/Foundation/NSGeometry.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Headers/Foundation/NSGeometry.h b/Headers/Foundation/NSGeometry.h index dbf9f10c5..c2ff44dff 100644 --- a/Headers/Foundation/NSGeometry.h +++ b/Headers/Foundation/NSGeometry.h @@ -314,7 +314,10 @@ NSInsetRect(NSRect aRect, float dX, float dY) GS_GEOM_ATTR; /** Returns the rectangle obtained by moving each of aRect's * horizontal sides inward by dy and each of aRect's vertical - * sides inward by dx. */ + * sides inward by dx.
+ * NB. For MacOS-X compatability, this is permitted to return + * a rectanglew with nagative width or height, strange as that seems. + */ GS_GEOM_SCOPE NSRect NSInsetRect(NSRect aRect, float dX, float dY) {