From c68083026382da45ff78d714298d93f46f2b5729 Mon Sep 17 00:00:00 2001 From: Christian Grasser Date: Sun, 31 Mar 2024 17:49:24 +0200 Subject: [PATCH] merge some whitespace changes from stable_python27 branch --- PythonScript/src/ConsoleDialog.cpp | 6 +++--- PythonScript/src/NotepadPlusWrapper.h | 2 +- PythonScript/src/PythonConsole.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PythonScript/src/ConsoleDialog.cpp b/PythonScript/src/ConsoleDialog.cpp index c3f01d64..6395adc6 100644 --- a/PythonScript/src/ConsoleDialog.cpp +++ b/PythonScript/src/ConsoleDialog.cpp @@ -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; diff --git a/PythonScript/src/NotepadPlusWrapper.h b/PythonScript/src/NotepadPlusWrapper.h index a0f87eb6..637d0e44 100644 --- a/PythonScript/src/NotepadPlusWrapper.h +++ b/PythonScript/src/NotepadPlusWrapper.h @@ -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); diff --git a/PythonScript/src/PythonConsole.cpp b/PythonScript/src/PythonConsole.cpp index 8cc8fe09..2c648561 100644 --- a/PythonScript/src/PythonConsole.cpp +++ b/PythonScript/src/PythonConsole.cpp @@ -238,7 +238,7 @@ void PythonConsole::writeError(boost::python::object text) { std::string textToWrite((const char *)boost::python::extract(text.attr("__str__")())); GILRelease release; - mp_consoleDlg->writeError(textToWrite.size(),textToWrite.c_str()); + mp_consoleDlg->writeError(textToWrite.size(),textToWrite.c_str()); } } }