Fix typos

This commit is contained in:
Don Ho 2022-05-19 19:32:35 +02:00
parent a577564699
commit 10f48e36ad
5 changed files with 5 additions and 5 deletions

View File

@ -7474,7 +7474,7 @@ DWORD WINAPI Notepad_plus::threadTextPlayer(void *params)
previousChar = text2display[i]; previousChar = text2display[i];
//char ch[64]; //char ch[64];
//sprintf(ch, "writting char == %c", text2display[i]); //sprintf(ch, "writing char == %c", text2display[i]);
//writeLog(TEXT("c:\\tmp\\log.txt"), ch); //writeLog(TEXT("c:\\tmp\\log.txt"), ch);
} }

View File

@ -2172,7 +2172,7 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
{ {
_nativeLangSpeaker.messageBox("SettingsOnCloudError", _nativeLangSpeaker.messageBox("SettingsOnCloudError",
hwnd, hwnd,
TEXT("It seems the path of settings on cloud is set on a read only drive,\ror on a folder needed privilege right for writting access.\rYour settings on cloud will be canceled. Please reset a coherent value via Preference dialog."), TEXT("It seems the path of settings on cloud is set on a read only drive,\ror on a folder needed privilege right for writing access.\rYour settings on cloud will be canceled. Please reset a coherent value via Preference dialog."),
TEXT("Settings on Cloud"), TEXT("Settings on Cloud"),
MB_OK | MB_APPLMODAL); MB_OK | MB_APPLMODAL);
nppParam.removeCloudChoice(); nppParam.removeCloudChoice();

View File

@ -559,7 +559,7 @@ bool Notepad_plus::doSave(BufferID id, const TCHAR * filename, bool isCopy)
_pluginsManager.notify(&scnN); _pluginsManager.notify(&scnN);
} }
if (res == SavingStatus::SaveWrittingFailed) if (res == SavingStatus::SaveWritingFailed)
{ {
_nativeLangSpeaker.messageBox("NotEnoughRoom4Saving", _nativeLangSpeaker.messageBox("NotEnoughRoom4Saving",
_pPublicInterface->getHSelf(), _pPublicInterface->getHSelf(),

View File

@ -1165,7 +1165,7 @@ SavingStatus FileManager::saveBuffer(BufferID id, const TCHAR * filename, bool i
if (!isWrittenSuccessful) if (!isWrittenSuccessful)
{ {
_pscratchTilla->execute(SCI_SETDOCPOINTER, 0, _scratchDocDefault); _pscratchTilla->execute(SCI_SETDOCPOINTER, 0, _scratchDocDefault);
return SavingStatus::SaveWrittingFailed; return SavingStatus::SaveWritingFailed;
} }
if (isHiddenOrSys) if (isHiddenOrSys)

View File

@ -54,7 +54,7 @@ enum BufferStatusInfo {
enum SavingStatus { enum SavingStatus {
SaveOK = 0, SaveOK = 0,
SaveOpenFailed = 1, SaveOpenFailed = 1,
SaveWrittingFailed = 2 SaveWritingFailed = 2
}; };
const TCHAR UNTITLED_STR[] = TEXT("new "); const TCHAR UNTITLED_STR[] = TEXT("new ");