summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/src/utils.cpp')
-rw-r--r--plugins/Scriver/src/utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Scriver/src/utils.cpp b/plugins/Scriver/src/utils.cpp
index 0ac1589bc7..b40a5272fe 100644
--- a/plugins/Scriver/src/utils.cpp
+++ b/plugins/Scriver/src/utils.cpp
@@ -124,7 +124,7 @@ char *GetRichTextEncoded(HWND hwnd, int codepage)
return textUtf;
}
-int SetRichTextEncoded(HWND hwnd, const char *text, int codepage)
+int SetRichTextEncoded(HWND hwnd, const char *text)
{
TCHAR *textToSet;
SETTEXTEX st;
@@ -287,7 +287,7 @@ void AppendToBuffer(char *&buffer, size_t &cbBufferEnd, size_t &cbBufferAlloced,
}
-int MeasureMenuItem(WPARAM wParam, LPARAM lParam)
+int MeasureMenuItem(WPARAM, LPARAM lParam)
{
LPMEASUREITEMSTRUCT mis = (LPMEASUREITEMSTRUCT)lParam;
if (mis->itemData != (ULONG_PTR)g_dat.hButtonIconList && mis->itemData != (ULONG_PTR)g_dat.hSearchEngineIconList && mis->itemData != (ULONG_PTR)g_dat.hChatButtonIconList) {
@@ -298,7 +298,7 @@ int MeasureMenuItem(WPARAM wParam, LPARAM lParam)
return TRUE;
}
-int DrawMenuItem(WPARAM wParam, LPARAM lParam)
+int DrawMenuItem(WPARAM, LPARAM lParam)
{
int y;
int id;