summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2015-06-24 20:16:05 +0200
committerSzymon Kłos <eszkadev@gmail.com>2015-07-16 09:53:08 +0200
commit95a0a1013336312b90dab2c364f1953948cfb509 (patch)
treeace819e30aee2cfea9b81d25472cbbb34ef0818b /svtools
parent7a77b45830225de507593f5d60b103098132ff0b (diff)
RemoteFilesDialog: correct count of array elements
Change-Id: Ia1744324045a9d5e4f6c8cf8b22ed6a99e629731
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/RemoteFilesDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/dialogs/RemoteFilesDialog.cxx b/svtools/source/dialogs/RemoteFilesDialog.cxx
index b7734e01facf..c5aef0f613f8 100644
--- a/svtools/source/dialogs/RemoteFilesDialog.cxx
+++ b/svtools/source/dialogs/RemoteFilesDialog.cxx
@@ -85,7 +85,7 @@ class FileViewContainer : public vcl::Window
void changeFocus(bool bReverse)
{
- if(!bReverse && m_nCurrentFocus <= 4)
+ if(!bReverse && m_nCurrentFocus < 4)
{
m_pFocusWidgets[++m_nCurrentFocus]->SetFakeFocus(true);
m_pFocusWidgets[m_nCurrentFocus]->GrabFocus();