From 95a678d2042e34feac419ed19e866d97d2e1288a Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Tue, 10 Feb 2009 22:03:36 +0100 Subject: [PATCH] Don't update 'fuoptions' before GUI has started This avoids allocating the MMBackend object before forking. --- src/MacVim/gui_macvim.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/MacVim/gui_macvim.m b/src/MacVim/gui_macvim.m index d7a99e7272..062db5e3e0 100644 --- a/src/MacVim/gui_macvim.m +++ b/src/MacVim/gui_macvim.m @@ -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);