[EMAIL PROTECTED] writes:

| Author: schmitt
| Date: Sun Jan 21 22:11:27 2007
| New Revision: 16798
| 
[snip]
| --- lyx-devel/trunk/src/paragraph.C (original)
| +++ lyx-devel/trunk/src/paragraph.C Sun Jan 21 22:11:27 2007
| @@ -561,7 +561,7 @@
|  }
|  
|  
| -int Paragraph::stripLeadingSpaces(bool trackChanges)
| +bool Paragraph::stripLeadingSpaces(bool trackChanges)
|  {
|       if (isFreeSpacing())
|               return 0;
| @@ -576,7 +576,7 @@
|                       ++pos;
|       }
|  
| -     return count;
| +     return count + pos > 0;
|  }

This doesn't look right does it?

Too much counting on implict conversion for my taste.

-- 
        Lgb

Reply via email to