diff --git a/src/dbg/TraceRecord.cpp b/src/dbg/TraceRecord.cpp index 625470cc..bbd11dce 100644 --- a/src/dbg/TraceRecord.cpp +++ b/src/dbg/TraceRecord.cpp @@ -407,7 +407,7 @@ void TraceRecordManager::TraceExecuteRecord(const Zydis & newInstruction) { CloseHandle(rtFile); String error = stringformatinline(StringUtils::sprintf("{winerror@%d}", GetLastError())); - dprintf(QT_TRANSLATE_NOOP("DBG", "Run trace has stopped unexpectedly because WriteFile() failed. GetLastError()= %s .\r\n"), error.c_str()); + dprintf(QT_TRANSLATE_NOOP("DBG", "Run trace has stopped unexpectedly because WriteFile() failed. GetLastError()= %s.\r\n"), error.c_str()); rtEnabled = false; } } @@ -552,7 +552,7 @@ bool TraceRecordManager::enableRunTrace(bool enabled, const char* fileName) else { String error = stringformatinline(StringUtils::sprintf("{winerror@%d}", GetLastError())); - dprintf(QT_TRANSLATE_NOOP("DBG", "Cannot create run trace file. GetLastError()= %s .\r\n"), error.c_str()); + dprintf(QT_TRANSLATE_NOOP("DBG", "Cannot create run trace file. GetLastError()= %s.\r\n"), error.c_str()); return false; } } diff --git a/src/dbg/database.cpp b/src/dbg/database.cpp index 2a2324e0..8abe4c5a 100644 --- a/src/dbg/database.cpp +++ b/src/dbg/database.cpp @@ -137,7 +137,7 @@ void DbSave(DbLoadSaveType saveType, const char* dbfile, bool disablecompression if(!dumpSuccess) { String error = stringformatinline(StringUtils::sprintf("{winerror@%d}", GetLastError())); - dprintf(QT_TRANSLATE_NOOP("DBG", "\nFailed to write database file!(GetLastError() = %s)\n"), error.c_str()); + dprintf(QT_TRANSLATE_NOOP("DBG", "\nFailed to write database file !(GetLastError() = %s)\n"), error.c_str()); json_decref(root); return; } @@ -200,7 +200,7 @@ void DbLoad(DbLoadSaveType loadType, const char* dbfile) if(!dbMap.Map(databasePathW.c_str())) { String error = stringformatinline(StringUtils::sprintf("{winerror@%d}", GetLastError())); - dprintf(QT_TRANSLATE_NOOP("DBG", "\nFailed to read database file!(GetLastError() = %s)\n"), error.c_str()); + dprintf(QT_TRANSLATE_NOOP("DBG", "\nFailed to read database file !(GetLastError() = %s)\n"), error.c_str()); return; } @@ -375,7 +375,7 @@ void DbSetPath(const char* Directory, const char* ModulePath) if(hFile == INVALID_HANDLE_VALUE) { String error = stringformatinline(StringUtils::sprintf("{winerror@%d}", GetLastError())); - dprintf(QT_TRANSLATE_NOOP("DBG", "Cannot write to the program directory(GetLastError() = %s), try running x64dbg as admin...\n"), error.c_str()); + dprintf(QT_TRANSLATE_NOOP("DBG", "Cannot write to the program directory (GetLastError() = %s), try running x64dbg as admin...\n"), error.c_str()); return false; } CloseHandle(hFile);