Skip to content

Commit 82c5f3e

Browse files
committed
Fix merge
1 parent 6db5cf3 commit 82c5f3e

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

src/MacVim/gui_macvim.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,8 +1252,10 @@
12521252
* Stop the cursor blinking. Show the cursor if it wasn't shown.
12531253
*/
12541254
void
1255-
gui_mch_stop_blink(void)
1255+
gui_mch_stop_blink(int may_call_gui_update_cursor)
12561256
{
1257+
if (may_call_gui_update_cursor)
1258+
gui_update_cursor(TRUE, FALSE);
12571259
[[MMBackend sharedInstance] stopBlink];
12581260
}
12591261

src/if_python3.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -872,11 +872,6 @@ Python3_Init(void)
872872
#ifdef PYTHON3_HOME
873873
else if (mch_getenv((char_u *)"PYTHONHOME") == NULL)
874874
Py_SetPythonHome(PYTHON3_HOME);
875-
# endif
876-
#else
877-
# ifdef PYTHON3_HOME
878-
Py_SetPythonHome(PYTHON3_HOME);
879-
# endif
880875
#endif
881876

882877
PyImport_AppendInittab("vim", Py3Init_vim);

src/proto/gui_macvim.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ gui_mch_settitle(char_u *title, char_u *icon);
188188
void
189189
gui_mch_start_blink(void);
190190
void
191-
gui_mch_stop_blink(void);
191+
gui_mch_stop_blink(int may_call_gui_update_cursor);
192192
void
193193
gui_mch_toggle_tearoffs(int enable);
194194
void

0 commit comments

Comments
 (0)