summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-13 14:53:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-13 14:53:37 +0000
commit0bb008ece12fe4e261330a3f680e2f481bfd3e91 (patch)
tree0e9acb2b0ac74fb21871e9cb6e9a6283651bee46 /plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp
parent6c2593659f36866e8c82deea995428c61bb99ec3 (diff)
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@8593 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp')
-rw-r--r--plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp b/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp
index 6451f76665..e2680a364f 100644
--- a/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp
+++ b/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp
@@ -173,7 +173,7 @@ void CLCDLabel::UpdateCutOffIndex()
{
// find the last space in the line ( substract -1 from offset to ignore spaces as last chars )
pos = m_strText.rfind(_T(" "),i + iMaxChars -1 );
- if(pos != tstring::npos && pos != i && pos >= i & pos != i+iMaxChars)
+ if(pos != tstring::npos && pos != i && pos >= i && pos != i+iMaxChars)
iMaxChars = 1 + pos - i;
}