mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 19:01:54 +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
848c7ca237
commit
7bd8202523
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
|
/* Default max. size. Don't change this without understanding and checking
|
||||||
for roundoff issues. Whole points should be representable. */
|
for roundoff issues. Whole points should be representable. */
|
||||||
#define HUGE 1e7
|
#define GSHUGE 1e7
|
||||||
|
|
||||||
|
|
||||||
/**** Synchronization stuff ****/
|
/**** Synchronization stuff ****/
|
||||||
|
@ -695,7 +695,7 @@ If a text view is added to an empty text network, it keeps its attributes.
|
||||||
[[self class] registerForServices];
|
[[self class] registerForServices];
|
||||||
|
|
||||||
_minSize = frameRect.size;
|
_minSize = frameRect.size;
|
||||||
_maxSize = NSMakeSize(frameRect.size.width, HUGE);
|
_maxSize = NSMakeSize(frameRect.size.width, GSHUGE);
|
||||||
_textContainerInset = NSMakeSize(2, 0);
|
_textContainerInset = NSMakeSize(2, 0);
|
||||||
|
|
||||||
ASSIGN(_insertionPointColor, [NSColor textColor]);
|
ASSIGN(_insertionPointColor, [NSColor textColor]);
|
||||||
|
@ -865,7 +865,7 @@ that makes decoding and encoding compatible with the old code.
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
[self setMaxSize: NSMakeSize(_frame.size.width, HUGE)];
|
[self setMaxSize: NSMakeSize(_frame.size.width, GSHUGE)];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ([aDecoder containsValueForKey: @"NSMinSize"])
|
if ([aDecoder containsValueForKey: @"NSMinSize"])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue