mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 21:57:39 +00:00
* Source/GSTextStorage.m
* Source/NSSpellChecker.m Two small cleanups. Patch by Marat Ibadinov <ibadinov@me.com> * Source/NSLayoutManager.m Changed == to >= to fix a crash when layout_char is beyond the length of the string. Patch by Paul Landers <paul.landers@testplant.com>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38312 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8da8a7add8
commit
09614d4d35
4 changed files with 15 additions and 4 deletions
|
@ -681,7 +681,7 @@ _attributesAtIndexEffectiveRange(
|
|||
|
||||
if (range.length == 0)
|
||||
{
|
||||
NSWarnMLog(@"Attempt to set attribute for zero-length range", 0);
|
||||
NSWarnMLog(@"Attempt to set attribute for zero-length range");
|
||||
return;
|
||||
}
|
||||
if (attributes == nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue