mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-27 02:20:47 +00:00
Fix solaris problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15251 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b8d31e5f14
commit
a86c7674e5
2 changed files with 16 additions and 11 deletions
|
@ -1,5 +1,9 @@
|
||||||
2002-12-04 Adam Fedor <fedor@gnu.org>
|
2002-12-04 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
* Source/GSSimpleLayoutManager.m ([GSSimpleLayoutManager
|
||||||
|
-textStorage:edited:range:changeInLength:invalidatedRange:]): Make
|
||||||
|
sure view exists before trying to get range (Solaris limitation).
|
||||||
|
|
||||||
* Source/NSPrintOperation.m: Update for change in GSSetLocale.
|
* Source/NSPrintOperation.m: Update for change in GSSetLocale.
|
||||||
|
|
||||||
2002-12-04 Adam Fedor <fedor@gnu.org>
|
2002-12-04 Adam Fedor <fedor@gnu.org>
|
||||||
|
@ -1795,7 +1799,7 @@ Fri May 10 11:24:38 2002 Nicola Pero <n.pero@mi.flashnet.it>
|
||||||
2002-05-01 Adam Fedor <fedor@gnu.org>
|
2002-05-01 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* Source/NSView.m (-resizeWithOldSuperviewSize:): Check object
|
* Source/NSView.m (-resizeWithOldSuperviewSize:): Check object
|
||||||
before getting struct. (Solaris limintation).
|
before getting struct. (Solaris limitation).
|
||||||
|
|
||||||
2002-04-30 Adam Fedor <fedor@gnu.org>
|
2002-04-30 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -608,6 +608,7 @@ static inline float defaultFontHeight ()
|
||||||
[[aTextContainer textView] sizeToFit];
|
[[aTextContainer textView] sizeToFit];
|
||||||
[[aTextContainer textView] invalidateTextContainerOrigin];
|
[[aTextContainer textView] invalidateTextContainerOrigin];
|
||||||
|
|
||||||
|
if ([aTextContainer textView])
|
||||||
{
|
{
|
||||||
NSRange sr = [[aTextContainer textView] selectedRange];
|
NSRange sr = [[aTextContainer textView] selectedRange];
|
||||||
if (sr.length == 0
|
if (sr.length == 0
|
||||||
|
|
Loading…
Reference in a new issue