@@ -438,7 +438,7 @@ bool AbortFinding(MainWindow* win, bool hideMessage) {
438438
439439// wasModified
440440// if true, starting a search for new term
441- // if false, searching for the next occurence of previous term
441+ // if false, searching for the next occurrence of previous term
442442// TODO: should detect wasModified by comparing with the last search result
443443void FindTextOnThread (MainWindow* win, TextSearch::Direction direction, const char * text, bool wasModified,
444444 bool showProgress) {
@@ -668,7 +668,7 @@ void ShowForwardSearchResult(MainWindow* win, const char* fileName, int line, in
668668 } else if (ret == PDFSYNCERR_SYNCFILE_CANNOT_BE_OPENED ) {
669669 args.msg = _TRA (" Synchronization file cannot be opened" );
670670 } else if (ret == PDFSYNCERR_INVALID_PAGE_NUMBER ) {
671- buf = str::FormatTemp (_TRA (" Page number %u inexistant " ), page);
671+ buf = str::FormatTemp (_TRA (" Page number %u nonexistent " ), page);
672672 } else if (ret == PDFSYNCERR_NO_SYNC_AT_LOCATION ) {
673673 args.msg = _TRA (" No synchronization info at this position" );
674674 } else if (ret == PDFSYNCERR_UNKNOWN_SOURCEFILE ) {
@@ -1301,7 +1301,7 @@ static const char* HandleCmdCommand(HWND hwnd, const char* cmd, bool* ack) {
13011301 }
13021302 MainWindow* win = FindMainWindowByHwnd (hwnd);
13031303 if (!win) {
1304- logfa (" HandleCmdCommand: not executing DDE becaues MainWindow for hwnd 0x%p not found\n " , hwnd);
1304+ logfa (" HandleCmdCommand: not executing DDE because MainWindow for hwnd 0x%p not found\n " , hwnd);
13051305 return nullptr ;
13061306 }
13071307
@@ -1411,7 +1411,7 @@ LRESULT OnDDERequest(HWND hwnd, WPARAM wp, LPARAM lp) {
14111411 StrBuilder str;
14121412 bool didHandle = HandleRequestCmds (hwnd, cmd, str);
14131413 if (!didHandle) {
1414- str.Set (" error: unknoqn command" );
1414+ str.Set (" error: unknown command" );
14151415 }
14161416
14171417 void * data;
0 commit comments