]> git.lyx.org Git - features.git/blobdiff - src/LyXView.C
(Try to) make LyX work with more than 128 layouts; new LLNCS class; latex log file...
[features.git] / src / LyXView.C
index b1d60e9371886b3b24156dcef40a06191b216b03..b2ca272c2e0d0da3d6ad8442d0a8ec96deed98d4 100644 (file)
@@ -306,7 +306,7 @@ void LyXView::updateLayoutChoice()
        // we need to do this.
        toolbar->combox->Redraw();
 
-       char layout = bufferview->text->cursor.par->GetLayout();
+       LyXTextClass::size_type layout = bufferview->text->cursor.par->GetLayout();
 
        if (layout != current_layout){
                toolbar->combox->select(layout + 1);