diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-26 13:31:07 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-26 13:31:07 +0000 |
commit | 122df3d8d5e45cc79cfe9bd68083e99616cd685d (patch) | |
tree | 9157af2cc321dbb18182dbcefb1cfae77e07c541 /plugins/SmileyAdd | |
parent | 532c94943c2d7f0a7fec12b3bb5525931c21d1b1 (diff) |
SmileyAdd: spelling
git-svn-id: http://svn.miranda-ng.org/main/trunk@15450 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd')
-rw-r--r-- | plugins/SmileyAdd/res/resource.rc | 2 | ||||
-rw-r--r-- | plugins/SmileyAdd/src/options.cpp | 10 | ||||
-rw-r--r-- | plugins/SmileyAdd/src/options.h | 2 | ||||
-rw-r--r-- | plugins/SmileyAdd/src/resource.h | 2 | ||||
-rw-r--r-- | plugins/SmileyAdd/src/smltool.cpp | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/plugins/SmileyAdd/res/resource.rc b/plugins/SmileyAdd/res/resource.rc index 7a9a9afa92..f6fcdf0125 100644 --- a/plugins/SmileyAdd/res/resource.rc +++ b/plugins/SmileyAdd/res/resource.rc @@ -76,7 +76,7 @@ BEGIN CONTROL "Disable",IDC_PLUGENABLED,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,240,217,69,12
COMBOBOX IDC_SMLBUT,159,230,60,35,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
LTEXT "Smiley button",IDC_STATIC,161,219,72,8
- CONTROL "Horisontal sorting",IDC_SORTING_HORISONTAL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,142,193,91,10
+ CONTROL "Horizontal sorting",IDC_SORTING_HORIZONTAL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,142,193,91,10
END
diff --git a/plugins/SmileyAdd/src/options.cpp b/plugins/SmileyAdd/src/options.cpp index a8cd5cf0f5..f75931b937 100644 --- a/plugins/SmileyAdd/src/options.cpp +++ b/plugins/SmileyAdd/src/options.cpp @@ -177,7 +177,7 @@ BOOL OptionsDialogType::DialogProcedure(UINT msg, WPARAM wParam, LPARAM lParam) case IDC_DCURSORSMILEY:
case IDC_DISABLECUSTOM:
case IDC_HQSCALING:
- case IDC_SORTING_HORISONTAL:
+ case IDC_SORTING_HORIZONTAL:
if (HIWORD(wParam) == BN_CLICKED)
SetChanged();
break;
@@ -409,7 +409,7 @@ void OptionsDialogType::InitDialog(void) CheckDlgButton(m_hwndDialog, IDC_DCURSORSMILEY, opt.DCursorSmiley ? BST_CHECKED : BST_UNCHECKED);
CheckDlgButton(m_hwndDialog, IDC_DISABLECUSTOM, opt.DisableCustom ? BST_CHECKED : BST_UNCHECKED);
CheckDlgButton(m_hwndDialog, IDC_HQSCALING, opt.HQScaling ? BST_CHECKED : BST_UNCHECKED);
- CheckDlgButton(m_hwndDialog, IDC_SORTING_HORISONTAL, opt.HorisontalSorting ? BST_CHECKED : BST_UNCHECKED);
+ CheckDlgButton(m_hwndDialog, IDC_SORTING_HORIZONTAL, opt.HorizontalSorting ? BST_CHECKED : BST_UNCHECKED);
SendDlgItemMessage(m_hwndDialog, IDC_SMLBUT, CB_ADDSTRING, 0, (LPARAM) TranslateT("Off"));
SendDlgItemMessage(m_hwndDialog, IDC_SMLBUT, CB_ADDSTRING, 0, (LPARAM) TranslateT("Top"));
@@ -486,7 +486,7 @@ void OptionsDialogType::ApplyChanges(void) opt.DCursorSmiley = IsDlgButtonChecked(m_hwndDialog, IDC_DCURSORSMILEY) == BST_CHECKED;
opt.DisableCustom = IsDlgButtonChecked(m_hwndDialog, IDC_DISABLECUSTOM) == BST_CHECKED;
opt.HQScaling = IsDlgButtonChecked(m_hwndDialog, IDC_HQSCALING) == BST_CHECKED;
- opt.HorisontalSorting = IsDlgButtonChecked(m_hwndDialog, IDC_SORTING_HORISONTAL) == BST_CHECKED;
+ opt.HorizontalSorting = IsDlgButtonChecked(m_hwndDialog, IDC_SORTING_HORIZONTAL) == BST_CHECKED;
opt.ButtonStatus = (unsigned)SendDlgItemMessage(m_hwndDialog, IDC_SMLBUT, CB_GETCURSEL, 0, 0);
opt.SelWndBkgClr = (unsigned)SendDlgItemMessage(m_hwndDialog, IDC_SELCLR, CPM_GETCOLOUR, 0, 0);
@@ -616,7 +616,7 @@ void OptionsType::Save(void) db_set_dw(NULL, "SmileyAdd", "SelWndBkgClr", SelWndBkgClr);
db_set_dw(NULL, "SmileyAdd", "MaxCustomSmileySize", MaxCustomSmileySize);
db_set_dw(NULL, "SmileyAdd", "MinSmileySize", MinSmileySize);
- db_set_b(NULL, "SmileyAdd", "HorisontalSorting", HorisontalSorting);
+ db_set_b(NULL, "SmileyAdd", "HorizontalSorting", HorizontalSorting);
}
void OptionsType::Load(void)
@@ -641,7 +641,7 @@ void OptionsType::Load(void) SelWndBkgClr = db_get_dw(NULL, "SmileyAdd", "SelWndBkgClr", GetSysColor(COLOR_WINDOW));
MaxCustomSmileySize = db_get_dw(NULL, "SmileyAdd", "MaxCustomSmileySize", 0);
MinSmileySize = db_get_dw(NULL, "SmileyAdd", "MinSmileySize", 0);
- HorisontalSorting = db_get_b(NULL, "SmileyAdd", "HorisontalSorting") != 0;
+ HorizontalSorting = db_get_b(NULL, "SmileyAdd", "HorizontalSorting") != 0;
}
diff --git a/plugins/SmileyAdd/src/options.h b/plugins/SmileyAdd/src/options.h index da6d53a897..f757084d82 100644 --- a/plugins/SmileyAdd/src/options.h +++ b/plugins/SmileyAdd/src/options.h @@ -40,7 +40,7 @@ public: bool DCursorSmiley;
bool DisableCustom;
bool HQScaling;
- bool HorisontalSorting;
+ bool HorizontalSorting;
unsigned ButtonStatus;
unsigned SelWndBkgClr;
unsigned MaxCustomSmileySize;
diff --git a/plugins/SmileyAdd/src/resource.h b/plugins/SmileyAdd/src/resource.h index ed280b1142..18d06cd4d7 100644 --- a/plugins/SmileyAdd/src/resource.h +++ b/plugins/SmileyAdd/src/resource.h @@ -34,7 +34,7 @@ #define IDC_MINSMSZ 1064
#define IDC_MINSPIN 1065
#define IDC_CHECK1 1066
-#define IDC_SORTING_HORISONTAL 1066
+#define IDC_SORTING_HORIZONTAL 1066
#define IDC_BROWSE 1184
#define IDC_FILENAME 1271
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;
|