diff --git a/src/editor.c b/src/editor.c index 64dd3e47..369963de 100644 --- a/src/editor.c +++ b/src/editor.c @@ -1617,10 +1617,10 @@ INT_PTR CALLBACK EditorProc ( // initialize layout _r_layout_initializemanager (&context->layout_manager, hwnd); - _r_window_restoreposition (hwnd, L"editor"); - _r_wnd_center (hwnd, GetParent (hwnd)); + _r_window_restoreposition (hwnd, L"editor"); + // set window title SetWindowText (hwnd, title);