From 5e3230373ed3bae8fe42334b85f250869d16fe5d Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Thu, 12 Jul 2018 17:47:22 -0400 Subject: [PATCH] final fixes for beta release --- gui/language.cpp | 11 +++++------ vnr/texthook/host/textthread.cc | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/gui/language.cpp b/gui/language.cpp index 66ad8fb..2dcb0b8 100644 --- a/gui/language.cpp +++ b/gui/language.cpp @@ -77,10 +77,9 @@ const wchar_t* ErrorNoAttach=L"No process attached."; //profile.cpp const wchar_t* ErrorMonitor=L"Can't monitor process."; //utility.cpp -const wchar_t* InitMessage=L"Copyright (C) 2010-2012 kaosu \r\n\ -Copyright (C) 2015 zorkzero \r\n\ -Source code \r\n\ -General discussion "; +const wchar_t* InitMessage=L"Copyright (C) 2010-2012 kaosu\r\n\ +Copyright(C) 2018 Artikash (akashmozumdar@gmail.com)\r\n\ +Source code available at github.com/Artikash/NextHooker"; const wchar_t* BackgroundMsg=L"Type \":h\" or \":help\" for help."; const wchar_t* ErrorLinkExist=L"Link exist."; const wchar_t* ErrorCylicLink=L"Link failed. No cyclic link allowed."; @@ -89,8 +88,8 @@ const wchar_t* ErrorLink=L"Link failed. Source or/and destination thread not fou const wchar_t* ErrorDeleteCombo=L"Error delete from combo."; //window.cpp -const wchar_t* ClassName=L"ITH"; -const wchar_t* ClassNameAdmin=L"ITH (Administrator)"; +const wchar_t* ClassName=L"NextHooker"; +const wchar_t* ClassNameAdmin=L"NextHooker (Administrator)"; const wchar_t* ErrorNotSplit=L"Need to enable split first!"; const wchar_t* ErrorNotModule=L"Need to enable module first!"; //Main window buttons diff --git a/vnr/texthook/host/textthread.cc b/vnr/texthook/host/textthread.cc index 287988d..a925deb 100644 --- a/vnr/texthook/host/textthread.cc +++ b/vnr/texthook/host/textthread.cc @@ -69,7 +69,7 @@ void TextThread::AddSentence() void TextThread::AddSentence(std::wstring sentence) { - sentence.append(L"\r\n\r\n"); + sentence.append(L"\r\n"); if (output) output(this, (const BYTE*)sentence.c_str(), sentence.length() * 2, false); AddToStore((const BYTE*)sentence.c_str(), sentence.length() * 2); }