diff --git a/src/MacVim/gui_macvim.m b/src/MacVim/gui_macvim.m index 94da1d7ecd..6f34a47905 100644 --- a/src/MacVim/gui_macvim.m +++ b/src/MacVim/gui_macvim.m @@ -2369,8 +2369,7 @@ if (!imgName) return; - char_u *txt = sign_get_text(typenr); - int txtSize = txt ? strlen((char*)txt) : 2; + const int txtSize = 2; // This is specified in the docs, and is expected to always be the case. [[MMBackend sharedInstance] drawSign:imgName atRow:row