summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/LCDFramework/CLCDInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirandaG15/src/LCDFramework/CLCDInput.cpp')
-rw-r--r--plugins/MirandaG15/src/LCDFramework/CLCDInput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirandaG15/src/LCDFramework/CLCDInput.cpp b/plugins/MirandaG15/src/LCDFramework/CLCDInput.cpp
index d482099de3..f3a01450af 100644
--- a/plugins/MirandaG15/src/LCDFramework/CLCDInput.cpp
+++ b/plugins/MirandaG15/src/LCDFramework/CLCDInput.cpp
@@ -658,7 +658,7 @@ void CLCDInput::UpdateOffsets(int iModified)
GetTextExtentExPoint(hDC,pszText+iChar,iLen-iChar,GetWidth(),&iMaxChars,piWidths,&sizeLine);
pos = m_strText.find(_T("\n"),iChar);
// check for linebreaks
- if(pos != tstring::npos & pos >= iChar && pos <= iChar + iMaxChars)
+ if(pos != tstring::npos && pos >= iChar && pos <= iChar + iMaxChars)
{
iWordOffset = pos + 1;
iMaxChars = pos - iChar;