summaryrefslogtreecommitdiff
path: root/plugins/CmdLine/MimCmd/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CmdLine/MimCmd/src')
-rw-r--r--plugins/CmdLine/MimCmd/src/MimCmd.cpp4
-rw-r--r--plugins/CmdLine/MimCmd/src/common.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/plugins/CmdLine/MimCmd/src/MimCmd.cpp b/plugins/CmdLine/MimCmd/src/MimCmd.cpp
index 07daf85a0c..94f614a20c 100644
--- a/plugins/CmdLine/MimCmd/src/MimCmd.cpp
+++ b/plugins/CmdLine/MimCmd/src/MimCmd.cpp
@@ -19,8 +19,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "common.h"
-#include "..\..\src\utils.h"
-#include "..\..\src\version.h"
int hLangpack = 0;
@@ -71,7 +69,7 @@ void ShowVersion()
char name[128];
char message[1024];
GetProgramName(name, sizeof(name));
- mir_snprintf(message, sizeof(message), Translate("%s version %s"), name, __VERSION_STRING);
+ mir_snprintf(message, sizeof(message), Translate("%s version %s"), name, __FILEVERSION_STRING);
lpprintf("%s\n", message);
}
diff --git a/plugins/CmdLine/MimCmd/src/common.h b/plugins/CmdLine/MimCmd/src/common.h
index 0086237671..4fb16a914d 100644
--- a/plugins/CmdLine/MimCmd/src/common.h
+++ b/plugins/CmdLine/MimCmd/src/common.h
@@ -22,15 +22,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <stdio.h>
#include <windows.h>
-#include <string.h>
#define NO_MIMCMD_COMMANDS
-#include <m_system.h>
#include <newpluginapi.h>
#include <m_langpack.h>
#include "..\..\src\mimcmd_ipc.h"
+#include "..\..\src\version.h"
+#include "..\..\src\utils.h"
#include "commands.h"
int lpprintf(const char *format, ...);