Skip to content

Commit

Permalink
merge some whitespace changes from stable_python27 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
chcg committed Mar 31, 2024
1 parent 3a7021c commit c680830
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions PythonScript/src/ConsoleDialog.cpp
Expand Up @@ -208,9 +208,9 @@ INT_PTR CALLBACK ConsoleDialog::run_dlgProc(UINT message, WPARAM wParam, LPARAM
//MessageBox(NULL, _T("Command") , _T("Python Command"), 0);
return FALSE;
}
else if (LOWORD(wParam) == IDCANCEL)
{
::SetFocus(getCurrScintilla());
else if (LOWORD(wParam) == IDCANCEL)
{
::SetFocus(getCurrScintilla());
return FALSE;
}
break;
Expand Down
2 changes: 1 addition & 1 deletion PythonScript/src/NotepadPlusWrapper.h
Expand Up @@ -700,7 +700,7 @@ class NotepadPlusWrapper
void setStatusBar(StatusBarSection section, const char *text);

intptr_t getPluginMenuHandle();

intptr_t hwnd;

void activateIndex(int view, int index);
Expand Down
2 changes: 1 addition & 1 deletion PythonScript/src/PythonConsole.cpp
Expand Up @@ -238,7 +238,7 @@ void PythonConsole::writeError(boost::python::object text)
{
std::string textToWrite((const char *)boost::python::extract<const char *>(text.attr("__str__")()));
GILRelease release;
mp_consoleDlg->writeError(textToWrite.size(),textToWrite.c_str());
mp_consoleDlg->writeError(textToWrite.size(),textToWrite.c_str());
}
}
}
Expand Down

0 comments on commit c680830

Please sign in to comment.