Dublicate selection patch for attributed strings from base.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18381 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2004-01-11 22:21:13 +00:00
parent 24fd41b800
commit 548dcdf7b0
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-01-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSTextStorage.m (_setAttributesFrom): Initialize
range in the aRange.length==0 case. (Found by Andrew Ruder using
valgrind.) This mirrors the patch to base/GSAttributedString.m.
2004-01-12 Serg Stoyan <stoyan@on.com.ua>
* Source/GSTitleView.m:

View file

@ -288,6 +288,7 @@ _setAttributesFrom(
if (aRange.length <= 0)
{
attr = blank;
range = aRange; /* Set to satisfy the loop condition below. */
}
else
{