From dfacd30b8f0ec67435922768283753ec2fd27041 Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Mon, 30 Jul 2012 16:18:10 +0400 Subject: [PATCH] [git] Pass correct instance to the history diff handler. IDEA-89361 --- .../com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java index 84781e12ed5c..2293269feb66 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java @@ -871,7 +871,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton { // no previous previousRevision = myBottomRevisionForShowDiff != null ? myBottomRevisionForShowDiff : VcsFileRevision.NULL; } else { - previousRevision = flatView.getRow(selectedRow + 1); + previousRevision = flatView.getRow(selectedRow + 1).getRevision(); } if (revision != null) {