mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
Rename HUGE -> GSHUGE to remove conflict with standard library #define.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32352 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
87d2bfba5f
commit
a278bc778a
1 changed files with 3 additions and 3 deletions
|
@ -315,7 +315,7 @@ static NSNotificationCenter *notificationCenter;
|
|||
|
||||
/* Default max. size. Don't change this without understanding and checking
|
||||
for roundoff issues. Whole points should be representable. */
|
||||
#define HUGE 1e7
|
||||
#define GSHUGE 1e7
|
||||
|
||||
|
||||
/**** Synchronization stuff ****/
|
||||
|
@ -695,7 +695,7 @@ If a text view is added to an empty text network, it keeps its attributes.
|
|||
[[self class] registerForServices];
|
||||
|
||||
_minSize = frameRect.size;
|
||||
_maxSize = NSMakeSize(frameRect.size.width, HUGE);
|
||||
_maxSize = NSMakeSize(frameRect.size.width, GSHUGE);
|
||||
_textContainerInset = NSMakeSize(2, 0);
|
||||
|
||||
ASSIGN(_insertionPointColor, [NSColor textColor]);
|
||||
|
@ -865,7 +865,7 @@ that makes decoding and encoding compatible with the old code.
|
|||
}
|
||||
else
|
||||
{
|
||||
[self setMaxSize: NSMakeSize(_frame.size.width, HUGE)];
|
||||
[self setMaxSize: NSMakeSize(_frame.size.width, GSHUGE)];
|
||||
}
|
||||
|
||||
if ([aDecoder containsValueForKey: @"NSMinSize"])
|
||||
|
|
Loading…
Reference in a new issue