mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
Don't update 'fuoptions' before GUI has started
This avoids allocating the MMBackend object before forking.
This commit is contained in:
@@ -1718,6 +1718,9 @@ gui_mch_leave_fullscreen()
|
||||
void
|
||||
gui_mch_fuopt_update()
|
||||
{
|
||||
if (!gui.in_use)
|
||||
return;
|
||||
|
||||
guicolor_T fg, bg;
|
||||
if (fuoptions_flags & FUOPT_BGCOLOR_HLGROUP) {
|
||||
syn_id2colors(fuoptions_bgcolor, &fg, &bg);
|
||||
|
||||
Reference in New Issue
Block a user