John Levon <[EMAIL PROTECTED]> writes:

| Index: text.C
| ===================================================================
| RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text.C,v
| retrieving revision 1.299
| diff -u -r1.299 text.C
| --- text.C    6 Mar 2003 20:21:16 -0000       1.299
| +++ text.C    8 Mar 2003 19:00:38 -0000
| @@ -497,7 +497,7 @@
|               break;
|       case MARGIN_MANUAL:
|               x += font_metrics::signedWidth(layout->labelindent, labelfont);
| -             if (row->pos() >= row->par()->beginningOfMainBody()) {
| +             if (row->par()->size() && row->pos() >=
| row->par()->beginningOfMainBody()) {

Please use !empty() if that is what you mean.

-- 
        Lgb

Reply via email to