зеркало из https://github.com/mozilla/gecko-dev.git
switch order of if checks. gets rid of a SF1 P0 bug 300045.
This commit is contained in:
Родитель
79fb85c788
Коммит
682346549a
|
@ -6539,7 +6539,7 @@ void lo_LayoutTextBlock ( MWContext * context, lo_DocState * state, Bool flushLa
|
|||
* as if the space was non-breaking, we would not have
|
||||
* broken the line here */
|
||||
|
||||
if ( XP_IS_SPACE ( *text ) && !allTextFits )
|
||||
if ( !allTextFits && XP_IS_SPACE ( *text ) )
|
||||
{
|
||||
/* BRAIN DAMAGE: We should be able to do this at
|
||||
the start of the line */
|
||||
|
|
Загрузка…
Ссылка в новой задаче