mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
Merge pull request #922 from ychin/sign-icon-unncessary-text-parse
Fix MacVim GUI to hard-code sign icon to width of 2 to reduce dependency
This commit is contained in:
@@ -2369,8 +2369,7 @@ gui_mch_drawsign(int row, int col, int typenr)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user