summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TranslitSwitcher/TranslitSwitcher_12.vcxproj8
-rw-r--r--plugins/TranslitSwitcher/src/Layoutproc.cpp4
-rw-r--r--plugins/TranslitSwitcher/src/TranslitSwitcher.cpp14
3 files changed, 13 insertions, 13 deletions
diff --git a/plugins/TranslitSwitcher/TranslitSwitcher_12.vcxproj b/plugins/TranslitSwitcher/TranslitSwitcher_12.vcxproj
index 13d67b6206..f51ccb6a07 100644
--- a/plugins/TranslitSwitcher/TranslitSwitcher_12.vcxproj
+++ b/plugins/TranslitSwitcher/TranslitSwitcher_12.vcxproj
@@ -81,7 +81,7 @@
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <WarningLevel>Level3</WarningLevel>
+ <WarningLevel>Level4</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<ExceptionHandling>false</ExceptionHandling>
<PrecompiledHeader>Use</PrecompiledHeader>
@@ -107,7 +107,7 @@
<PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <WarningLevel>Level3</WarningLevel>
+ <WarningLevel>Level4</WarningLevel>
<ExceptionHandling>false</ExceptionHandling>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>TranslitSwitcher.h</PrecompiledHeaderFile>
@@ -135,7 +135,7 @@
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<FloatingPointModel>Fast</FloatingPointModel>
- <WarningLevel>Level3</WarningLevel>
+ <WarningLevel>Level4</WarningLevel>
<ExceptionHandling>false</ExceptionHandling>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>TranslitSwitcher.h</PrecompiledHeaderFile>
@@ -165,7 +165,7 @@
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<FloatingPointModel>Fast</FloatingPointModel>
- <WarningLevel>Level3</WarningLevel>
+ <WarningLevel>Level4</WarningLevel>
<ExceptionHandling>false</ExceptionHandling>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>TranslitSwitcher.h</PrecompiledHeaderFile>
diff --git a/plugins/TranslitSwitcher/src/Layoutproc.cpp b/plugins/TranslitSwitcher/src/Layoutproc.cpp
index 75a1ca1a3f..6a7a918a1a 100644
--- a/plugins/TranslitSwitcher/src/Layoutproc.cpp
+++ b/plugins/TranslitSwitcher/src/Layoutproc.cpp
@@ -585,7 +585,7 @@ void InvertCase(bool lastword)
GetClassName(hwnd2, szClassName, SIZEOF(szClassName));
if (mir_tstrcmpi(szClassName, _T("RichEdit50W")) != 0)
return;
-
+
DWORD dwStart, dwEnd, dwFlags = SF_TEXT | SF_UNICODE;
SendMessage(hwnd2, EM_GETSEL, (WPARAM)&dwStart, (LPARAM)&dwEnd);
bool somethingIsSelected = (dwStart != dwEnd);
@@ -638,7 +638,7 @@ void InvertCase(bool lastword)
mir_free(boo);
}
-int OnButtonPressed(WPARAM wParam, LPARAM lParam)
+int OnButtonPressed(WPARAM, LPARAM lParam)
{
CustomButtonClickData *cbcd = (CustomButtonClickData *)lParam;
diff --git a/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp b/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp
index f4b9be16c6..4c4498dd90 100644
--- a/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp
+++ b/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp
@@ -44,40 +44,40 @@ static IconItem iconList[] =
{ LPGEN("Invert Case and Send"), "Invert Case and Send", IDI_INVERTSEND },
};
-bool WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+bool WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID)
{
hInst = hinstDLL;
return true;
}
-extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
return &pluginInfoEx;
}
//-------------------------------------------------------------------------------------------------------
#define MS_TS_SWITCHLAYOUT "TranslitSwitcher/SwitchLayout"
-INT_PTR ServiceSwitch(WPARAM wParam, LPARAM lParam)
+INT_PTR ServiceSwitch(WPARAM, LPARAM lParam)
{
SwitchLayout(lParam != 0);
return 0;
}
#define MS_TS_TRANSLITLAYOUT "TranslitSwitcher/TranslitLayout"
-INT_PTR ServiceTranslit(WPARAM wParam, LPARAM lParam)
+INT_PTR ServiceTranslit(WPARAM, LPARAM lParam)
{
TranslitLayout(lParam != 0);
return 0;
}
#define MS_TS_INVERTCASE "TranslitSwitcher/InvertCase"
-INT_PTR ServiceInvert(WPARAM wParam, LPARAM lParam)
+INT_PTR ServiceInvert(WPARAM, LPARAM lParam)
{
InvertCase(lParam != 0);
return 0;
}
-int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
+int OnModulesLoaded(WPARAM, LPARAM)
{
HookEvent(ME_MSG_BUTTONPRESSED, OnButtonPressed);
if (ServiceExists(MS_BB_ADDBUTTON)) {
@@ -110,7 +110,7 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
return 0;
}
-int OnPreShutdown(WPARAM wParam, LPARAM lParam)
+int OnPreShutdown(WPARAM, LPARAM)
{
if (ServiceExists(MS_BB_REMOVEBUTTON)) {
BBButton bbd = { 0 };