1
0
Fork 0

fix some whitespace in strings

This commit is contained in:
Duncan Ogilvie 2018-06-03 17:39:13 +02:00
parent 1cd3cfc469
commit 01960c556b
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}
}

View File

@ -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);