summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-10 13:53:38 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-10 13:53:42 +0300
commit216f510b259da44e9e3e63d508d7e15315fcb4df (patch)
tree4f660ef22074578c498981bf0a5d8ec9a0a68a72 /plugins
parent8685ea260930d4ec8c110f5a8ff7615dee18204f (diff)
MimCmd: missing MUUID for translation
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MimCmd/src/MimCmd.cpp13
-rw-r--r--plugins/MimCmd/src/commands.cpp6
2 files changed, 16 insertions, 3 deletions
diff --git a/plugins/MimCmd/src/MimCmd.cpp b/plugins/MimCmd/src/MimCmd.cpp
index 5b7bde1b96..de8617507a 100644
--- a/plugins/MimCmd/src/MimCmd.cpp
+++ b/plugins/MimCmd/src/MimCmd.cpp
@@ -21,6 +21,19 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "stdafx.h"
#include "..\..\build\appstub\appstub.cpp"
+PLUGININFOEX pluginInfoEx = {
+ sizeof(PLUGININFOEX),
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __COPYRIGHT,
+ __AUTHORWEB,
+ UNICODE_AWARE,
+ // {7EFA77D0-5CA2-485E-A045-609B988F3718}
+ { 0x7efa77d0, 0x5ca2, 0x485e, { 0xa0, 0x45, 0x60, 0x9b, 0x98, 0x8f, 0x37, 0x18 }}
+};
+
wchar_t* GetProgramName(wchar_t *programName, size_t size)
{
wchar_t name[512];
diff --git a/plugins/MimCmd/src/commands.cpp b/plugins/MimCmd/src/commands.cpp
index ec18b162f3..9caaa42af5 100644
--- a/plugins/MimCmd/src/commands.cpp
+++ b/plugins/MimCmd/src/commands.cpp
@@ -51,9 +51,9 @@ int ConnectToMiranda()
SetEnvironmentVariable(L"PATH", ptszVal);
delete[] ptszVal;
- wchar_t pluginPath[1024] = {0};
+ wchar_t pluginPath[1024]; pluginPath[0] = 0;
GetMirandaFolder(pluginPath, _countof(pluginPath));
- if(pluginPath[0])
+ if (pluginPath[0])
mir_wstrcat(pluginPath, L"\\plugins\\cmdline.dll");
else
mir_wstrcat(pluginPath, L"plugins\\cmdline.dll");
@@ -161,7 +161,7 @@ void FillSharedDataStruct(PCommand command, wchar_t *arguments[], int count)
sdCmdLine->cArguments = count;
sdCmdLine->command = *command;
*sdCmdLine->reply.message = 0;
- sdCmdLine->reply.code =-1;
+ sdCmdLine->reply.code = -1;
}
void ProcessConsoleCommand(PCommand command, wchar_t *arguments[], int count, PReply reply)