mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
parent
edefef17b5
commit
2cb6ed9376
@ -3241,7 +3241,6 @@ void GuiView::dispatchVC(FuncRequest const & cmd, DispatchResult & dr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
case LFUN_VC_COMPARE: {
|
case LFUN_VC_COMPARE: {
|
||||||
|
|
||||||
if (cmd.argument().empty()) {
|
if (cmd.argument().empty()) {
|
||||||
lyx::dispatch(FuncRequest(LFUN_DIALOG_SHOW, "comparehistory"));
|
lyx::dispatch(FuncRequest(LFUN_DIALOG_SHOW, "comparehistory"));
|
||||||
break;
|
break;
|
||||||
@ -3251,6 +3250,8 @@ void GuiView::dispatchVC(FuncRequest const & cmd, DispatchResult & dr)
|
|||||||
string f1, f2;
|
string f1, f2;
|
||||||
|
|
||||||
// f1
|
// f1
|
||||||
|
// it seems safe to assume we have a buffer
|
||||||
|
// coverity[FORWARD_NULL]
|
||||||
if (!buffer->lyxvc().prepareFileRevision(rev1, f1))
|
if (!buffer->lyxvc().prepareFileRevision(rev1, f1))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user