Skip to content

Commit d4c65d9

Browse files
committed
Bugfix for ConsoleDialog docked window not showing
- Window structure had changed to pointer, but still passed as if it wasn't :(
1 parent 58f6d23 commit d4c65d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PythonScript/src/ConsoleDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ void ConsoleDialog::doDialog()
513513
m_data->rcFloat = rc;
514514

515515

516-
::SendMessage(_hParent, NPPM_DMMREGASDCKDLG, 0, (LPARAM)&m_data);
516+
::SendMessage(_hParent, NPPM_DMMREGASDCKDLG, 0, reinterpret_cast<LPARAM>(m_data));
517517

518518
// Parse the whole doc, in case we've had errors that haven't been parsed yet
519519
callScintilla(SCI_COLOURISE, 0, -1);

0 commit comments

Comments
 (0)