switch order of if checks. gets rid of a SF1 P0 bug 300045.

This commit is contained in:
toshok 1998-07-14 21:39:00 +00:00
Родитель 79fb85c788
Коммит 682346549a
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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 */