diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 17:06:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 17:06:04 +0300 |
commit | 1039b2829a264280493ba0fa979214fe024dc70c (patch) | |
tree | 8fa6a60eb46627582c372b56a4a1d4754d6732c3 /plugins/CSList | |
parent | 62a186697df33c96dc1a6dac0f4dfc38652fb96f (diff) |
WORD -> uint16_t
Diffstat (limited to 'plugins/CSList')
-rw-r--r-- | plugins/CSList/src/cslist.cpp | 6 | ||||
-rw-r--r-- | plugins/CSList/src/stdafx.h | 8 |
2 files changed, 7 insertions, 7 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; diff --git a/plugins/CSList/src/stdafx.h b/plugins/CSList/src/stdafx.h index b70f359d2e..8586578d5d 100644 --- a/plugins/CSList/src/stdafx.h +++ b/plugins/CSList/src/stdafx.h @@ -363,7 +363,7 @@ struct CSWindow struct CSAMWindow
{
- WORD m_action;
+ uint16_t m_action;
StatusItem* m_item;
CSWindow* m_parent;
BOOL m_bChanged;
@@ -372,13 +372,13 @@ struct CSAMWindow HWND m_hCombo;
HWND m_hMessage;
- CSAMWindow(WORD action, CSWindow* parent);
+ CSAMWindow(uint16_t action, CSWindow* parent);
~CSAMWindow();
void exec();
void setCombo();
void fillDialog();
- void checkFieldLimit(WORD action, WORD item);
+ void checkFieldLimit(uint16_t action, uint16_t item);
void checkItemValidity();
};
@@ -391,7 +391,7 @@ void addProtoStatusMenuItem(char *protoName); // other functions
void RegisterHotkeys(char buf[200], wchar_t* accName, int Number);
-void SetStatus(WORD code, StatusItem* item, char *protoName);
+void SetStatus(uint16_t code, StatusItem* item, char *protoName);
//====[ PROCEDURES ]=========================================================
|