Permalink
Browse files

Fixed a bug with the Status bar menus being off by 1.

  • Loading branch information...
1 parent b882555 commit 7a5388ade28fe90f5587e03c47d29b1823fd8669 @ajpalkovic ajpalkovic committed Oct 26, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/StatusBar.cpp
View
4 src/StatusBar.cpp
@@ -239,8 +239,8 @@ void StatusBar::OnMouseLeftDown(wxMouseEvent& event) {
wxRect encodingRect;
GetFieldRect(1, syntaxRect);
GetFieldRect(2, tabsRect);
- GetFieldRect(3, symbolsRect);
- GetFieldRect(4, encodingRect);
+ GetFieldRect(4, symbolsRect);
+ GetFieldRect(5, encodingRect);
if (syntaxRect.Contains(x, y)) {
PopupSyntaxMenu(syntaxRect);

0 comments on commit 7a5388a

Please sign in to comment.