Skip to content

Commit c20131f

Browse files
authored
Merge pull request #335 from macvim-dev/fix/gui_mch_get_rgb
Sync gui_mch_get_rgb with 7.4.2243
2 parents 2b0affa + 247f8a5 commit c20131f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/MacVim/gui_macvim.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1597,7 +1597,7 @@
15971597
/*
15981598
* Return the RGB value of a pixel as long.
15991599
*/
1600-
long_u
1600+
guicolor_T
16011601
gui_mch_get_rgb(guicolor_T pixel)
16021602
{
16031603
// This is only implemented so that vim can guess the correct value for

src/proto/gui_macvim.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ gui_mch_enable_scrollbar(
121121
gui_mch_flash(int msec);
122122
guicolor_T
123123
gui_mch_get_color(char_u *name);
124-
long_u
124+
guicolor_T
125125
gui_mch_get_rgb(guicolor_T pixel);
126126
void
127127
gui_mch_get_screen_dimensions(int *screen_w, int *screen_h);

0 commit comments

Comments
 (0)