diff --git a/src/MacVim/gui_macvim.m b/src/MacVim/gui_macvim.m index 5bb2162fa7..9e96869b01 100644 --- a/src/MacVim/gui_macvim.m +++ b/src/MacVim/gui_macvim.m @@ -2426,11 +2426,11 @@ gui_mch_destroy_sign(void *sign) #ifdef FEAT_BEVAL BalloonEval * -gui_mch_create_beval_area(target, mesg, mesgCB, clientData) - void *target; - char_u *mesg; - void (*mesgCB)(BalloonEval *, int); - void *clientData; +gui_mch_create_beval_area( + void *target, + char_u *mesg, + void (*mesgCB)(BalloonEval *, int), + void *clientData) { BalloonEval *beval; @@ -2446,8 +2446,7 @@ gui_mch_create_beval_area(target, mesg, mesgCB, clientData) } void -gui_mch_enable_beval_area(beval) - BalloonEval *beval; +gui_mch_enable_beval_area(BalloonEval *beval) { // Set the balloon delay when enabling balloon eval. float delay = p_bdlay/1000.0f - MMBalloonEvalInternalDelay; @@ -2458,8 +2457,7 @@ gui_mch_enable_beval_area(beval) } void -gui_mch_disable_beval_area(beval) - BalloonEval *beval; +gui_mch_disable_beval_area(BalloonEval *beval) { // NOTE: An empty tool tip indicates that the tool tip window should hide. [[MMBackend sharedInstance] queueMessage:SetTooltipMsgID properties: @@ -2470,9 +2468,7 @@ gui_mch_disable_beval_area(beval) * Show a balloon with "mesg". */ void -gui_mch_post_balloon(beval, mesg) - BalloonEval *beval; - char_u *mesg; +gui_mch_post_balloon(BalloonEval *beval, char_u *mesg) { NSString *toolTip = [NSString stringWithVimString:mesg]; [[MMBackend sharedInstance] setLastToolTip:toolTip];