summaryrefslogtreecommitdiff
path: root/plugins/CSList/src/cslist.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 17:06:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 17:06:04 +0300
commit1039b2829a264280493ba0fa979214fe024dc70c (patch)
tree8fa6a60eb46627582c372b56a4a1d4754d6732c3 /plugins/CSList/src/cslist.cpp
parent62a186697df33c96dc1a6dac0f4dfc38652fb96f (diff)
WORD -> uint16_t
Diffstat (limited to 'plugins/CSList/src/cslist.cpp')
-rw-r--r--plugins/CSList/src/cslist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CSList/src/cslist.cpp b/plugins/CSList/src/cslist.cpp
index 08d8abb871..698112b10e 100644
--- a/plugins/CSList/src/cslist.cpp
+++ b/plugins/CSList/src/cslist.cpp
@@ -147,7 +147,7 @@ void RegisterHotkeys(char buf[200], wchar_t* accName, int Number)
g_plugin.addHotkey(&hotkey);
}
-void SetStatus(WORD code, StatusItem* item, char *szAccName)
+void SetStatus(uint16_t code, StatusItem* item, char *szAccName)
{
if (code == IDCLOSE)
return;
@@ -413,7 +413,7 @@ BOOL CSWindow::toggleButtons()
///////////////////////////////////////////////////////////////////////////////
// CSAMWindow class - add form window
-CSAMWindow::CSAMWindow(WORD action, CSWindow* parent)
+CSAMWindow::CSAMWindow(uint16_t action, CSWindow* parent)
{
m_action = action;
m_parent = parent;
@@ -491,7 +491,7 @@ void CSAMWindow::fillDialog()
SetDlgItemText(m_handle, IDC_MESSAGE, m_item->m_tszMessage);
}
-void CSAMWindow::checkFieldLimit(WORD action, WORD item)
+void CSAMWindow::checkFieldLimit(uint16_t action, uint16_t item)
{
BOOL type = (item == IDC_MESSAGE) ? TRUE : FALSE;
unsigned int limit = type ? EXTRASTATUS_MESSAGE_LIMIT : EXTRASTATUS_TITLE_LIMIT;