mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 00:30:58 +00:00
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):
Only adjust max_line_height to minimumLineHeight if it isn't zero. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37296 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d472adfbb1
commit
9b69de19d4
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-10-27 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Only
|
||||
adjust max_line_height to minimumLineHeight if it isn't zero.
|
||||
|
||||
2013-10-26 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSTextView.m (-mouseDown:): Use container origin for
|
||||
|
|
|
@ -607,7 +607,7 @@ Return values 0, 1, 2 are mostly the same as from
|
|||
max_line_height = [curParagraphStyle maximumLineHeight];
|
||||
|
||||
/* sanity */
|
||||
if (max_line_height < min)
|
||||
if (max_line_height > 0 && max_line_height < min)
|
||||
max_line_height = min;
|
||||
|
||||
line_height = [cache->font defaultLineHeightForFont];
|
||||
|
|
Loading…
Reference in a new issue