diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 |
commit | cddcd7483a7c472598af098e759e5d309024f606 (patch) | |
tree | b0a227d6e087c41958cc84d27bc323353248aae5 /protocols/WebView/src | |
parent | 1039b2829a264280493ba0fa979214fe024dc70c (diff) |
DWORD -> uint32_t
Diffstat (limited to 'protocols/WebView/src')
-rw-r--r-- | protocols/WebView/src/webview.cpp | 10 | ||||
-rw-r--r-- | protocols/WebView/src/webview_getdata.cpp | 4 | ||||
-rw-r--r-- | protocols/WebView/src/webview_opts.cpp | 8 |
3 files changed, 11 insertions, 11 deletions
diff --git a/protocols/WebView/src/webview.cpp b/protocols/WebView/src/webview.cpp index 58b8e780b0..2f5b1d7780 100644 --- a/protocols/WebView/src/webview.cpp +++ b/protocols/WebView/src/webview.cpp @@ -26,7 +26,7 @@ char* WndClass = "WEBWnd"; WNDCLASSEX wincl; MSG messages; -DWORD winheight; +uint32_t winheight; int StartUpDelay = 0; int Xposition, Yposition; @@ -218,9 +218,9 @@ int Doubleclick(WPARAM wParam, LPARAM) int SendToRichEdit(HWND hWindow, char *truncated, COLORREF rgbText, COLORREF rgbBack) { DBVARIANT dbv; - DWORD bold = 0; - DWORD italic = 0; - DWORD underline = 0; + uint32_t bold = 0; + uint32_t italic = 0; + uint32_t underline = 0; SetDlgItemText(hWindow, IDC_DATA, L""); @@ -277,7 +277,7 @@ void CALLBACK timerfunc(HWND, UINT, UINT_PTR, DWORD) ///////////////////////////////////////////////////////////////////////////////////////// void CALLBACK Countdownfunc(HWND, UINT, UINT_PTR, DWORD) { - DWORD timetemp = g_plugin.getDword(COUNTDOWN_KEY, 100); + uint32_t timetemp = g_plugin.getDword(COUNTDOWN_KEY, 100); if (timetemp <= 0) { timetemp = g_plugin.getDword(REFRESH_KEY, TIME); g_plugin.setDword(COUNTDOWN_KEY, timetemp); diff --git a/protocols/WebView/src/webview_getdata.cpp b/protocols/WebView/src/webview_getdata.cpp index ab21c3f3ce..ae29e134ef 100644 --- a/protocols/WebView/src/webview_getdata.cpp +++ b/protocols/WebView/src/webview_getdata.cpp @@ -481,8 +481,8 @@ LBL_Stop: wchar_t *statusText = TranslateT("Processing data stopped by user.") SendDlgItemMessage(hwndDlg, IDC_DATA, EM_EXSETSEL, 0, (LPARAM)&sel2); SetFocus(GetDlgItem(hwndDlg, IDC_DATA)); - DWORD HiBackgoundClr = g_plugin.getDword(BG_COLOR_KEY, Def_color_bg); - DWORD HiTextClr = g_plugin.getDword(TXT_COLOR_KEY, Def_color_txt); + uint32_t HiBackgoundClr = g_plugin.getDword(BG_COLOR_KEY, Def_color_bg); + uint32_t HiTextClr = g_plugin.getDword(TXT_COLOR_KEY, Def_color_txt); CHARFORMAT2 Format; memset(&Format, 0, sizeof(Format)); diff --git a/protocols/WebView/src/webview_opts.cpp b/protocols/WebView/src/webview_opts.cpp index 923b45142c..941076168f 100644 --- a/protocols/WebView/src/webview_opts.cpp +++ b/protocols/WebView/src/webview_opts.cpp @@ -45,9 +45,9 @@ static int CALLBACK EnumFontScriptsProc(ENUMLOGFONTEX * lpelfe, NEWTEXTMETRICEX* static INT_PTR CALLBACK DlgPopUpOpts(HWND hdlg, UINT msg, WPARAM wParam, LPARAM lParam) { char str[512]; - DWORD BGColour = 0; - DWORD TextColour = 0; - DWORD delay = 0; + uint32_t BGColour = 0; + uint32_t TextColour = 0; + uint32_t delay = 0; static int test = 0; switch (msg) { @@ -208,7 +208,7 @@ static INT_PTR CALLBACK DlgPopUpOpts(HWND hdlg, UINT msg, WPARAM wParam, LPARAM static INT_PTR CALLBACK DlgProcOpt(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { - DWORD timerval, delaytime, oldcolor; + uint32_t timerval, delaytime, oldcolor; DBVARIANT dbv; static int test = 0; static int test2 = 0; |