summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/smltool.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-09-26 13:31:07 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-09-26 13:31:07 +0000
commit122df3d8d5e45cc79cfe9bd68083e99616cd685d (patch)
tree9157af2cc321dbb18182dbcefb1cfae77e07c541 /plugins/SmileyAdd/src/smltool.cpp
parent532c94943c2d7f0a7fec12b3bb5525931c21d1b1 (diff)
SmileyAdd: spelling
git-svn-id: http://svn.miranda-ng.org/main/trunk@15450 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src/smltool.cpp')
-rw-r--r--plugins/SmileyAdd/src/smltool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SmileyAdd/src/smltool.cpp b/plugins/SmileyAdd/src/smltool.cpp
index 55e52dc7a0..15ff7b0497 100644
--- a/plugins/SmileyAdd/src/smltool.cpp
+++ b/plugins/SmileyAdd/src/smltool.cpp
@@ -688,7 +688,7 @@ RECT SmileyToolWindowType::CalculateButtonToCoordinates(int buttonPosition, int
{
int row, rowpos;
- if (opt.HorisontalSorting)
+ if (opt.HorizontalSorting)
{
row = buttonPosition / m_NumberOfHorizontalButtons;
rowpos = buttonPosition % m_NumberOfHorizontalButtons;
@@ -715,7 +715,7 @@ int SmileyToolWindowType::CalculateCoordinatesToButton(POINT pt, int scroll)
const int row = (pt.y - m_ButtonSpace) / (m_ButtonSize.cy + m_ButtonSpace) + scroll;
int pos;
- if (opt.HorisontalSorting)
+ if (opt.HorizontalSorting)
pos = m_NumberOfHorizontalButtons * row + rowpos;
else
pos = m_NumberOfVerticalButtons * rowpos + row;