From abba182b1ba630b41660424abf372af527b1612c Mon Sep 17 00:00:00 2001 From: Tannin Date: Sat, 9 May 2015 21:44:19 +0200 Subject: dropped redundant report.h/report.cpp --- src/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 4d33b6ea..07210a23 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -45,7 +45,7 @@ along with Mod Organizer. If not, see . #include #include #include "mainwindow.h" -#include "report.h" +#include #include "modlist.h" #include "profile.h" #include "gameinfo.h" @@ -398,12 +398,12 @@ int main(int argc, char *argv[]) ::GetEnvironmentVariable(TEXT("PATH"), oldPath.get(), offset); } - std::tstring newPath(oldPath.get()); - newPath += TEXT(";"); + std::wstring newPath(oldPath.get()); + newPath += L";"; newPath += ToWString(QDir::toNativeSeparators(QCoreApplication::applicationDirPath())).c_str(); - newPath += TEXT("\\dlls"); + newPath += L"\\dlls"; - ::SetEnvironmentVariable(TEXT("PATH"), newPath.c_str()); + ::SetEnvironmentVariableW(L"PATH", newPath.c_str()); } registerMetaTypes(); -- cgit v1.3.1