diff options
author | George Hazan <ghazan@miranda.im> | 2016-12-02 12:29:54 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-12-02 12:29:54 +0300 |
commit | 8e6d25afcc7ab8a9e473872055480a318e9919e6 (patch) | |
tree | 3d6f664f88762d4e032c8f608dce144c94b0ba34 | |
parent | 23b439bec4cc9fb9f8541eeeb838da301295a5cd (diff) |
parameter names conflict with macroses / functions
-rw-r--r-- | src/mir_core/src/ui_utils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_core/src/ui_utils.cpp b/src/mir_core/src/ui_utils.cpp index 9ffb4b1217..2c09dc9613 100644 --- a/src/mir_core/src/ui_utils.cpp +++ b/src/mir_core/src/ui_utils.cpp @@ -676,14 +676,14 @@ CCtrlSpin::CCtrlSpin(CDlgBase *dlg, int ctrlId) : CCtrlBase(dlg, ctrlId)
{}
-void CCtrlSpin::SetPosition(WORD max, WORD min)
+void CCtrlSpin::SetPosition(WORD wMax, WORD wMin)
{
- SendMsg(UDM_GETPOS, 0, MAKELONG(min, max));
+ SendMsg(UDM_SETPOS, 0, MAKELONG(wMin, wMax));
}
-void CCtrlSpin::SetRange(WORD max, WORD min)
+void CCtrlSpin::SetRange(WORD wMax, WORD wMin)
{
- SendMsg(UDM_SETRANGE, 0, MAKELONG(min, max));
+ SendMsg(UDM_SETRANGE, 0, MAKELONG(wMin, wMax));
}
/////////////////////////////////////////////////////////////////////////////////////////
|