Martin Vermeer <[EMAIL PROTECTED]> writes: | Index: FormDocument.C | =================================================================== | RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/FormDocument.C,v | retrieving revision 1.151 | diff -u -p -r1.151 FormDocument.C | --- FormDocument.C 23 Aug 2003 00:16:41 -0000 1.151 | +++ FormDocument.C 29 Aug 2003 06:53:20 -0000 | @@ -1319,8 +1319,11 @@ void FormDocument::branch_update(BufferP | fl_addto_browser(branch_->browser_all_branches, vec[i].c_str()); | } | fl_select_browser_line(branch_->browser_all_branches, 1); | - current_branch = | - fl_get_browser_line(branch_->browser_all_branches, 1); | + if (vec.size() > 0)
Isn't this just if (!vec.empty()) -- Lgb