Mercurial > vim
comparison src/ui.c @ 13371:1a3f5759b61e v8.0.1559
patch 8.0.1559: build failure without GUI
commit https://github.com/vim/vim/commit/658a154cbf2362c49a9797d9b2b9b69f481cd940
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 3 19:29:43 2018 +0100
patch 8.0.1559: build failure without GUI
Problem: Build failure without GUI.
Solution: Adjust #ifdef for get_fpos_of_mouse().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 03 Mar 2018 19:30:06 +0100 |
parents | ac42c4b11dbc |
children | 0802633a0b2d |
comparison
equal
deleted
inserted
replaced
13370:448b85119b22 | 13371:1a3f5759b61e |
---|---|
3197 return NULL; | 3197 return NULL; |
3198 } | 3198 } |
3199 | 3199 |
3200 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MAC) \ | 3200 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MAC) \ |
3201 || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MSWIN) \ | 3201 || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MSWIN) \ |
3202 || defined(FEAT_GUI_PHOTON) || defined(PROTO) | 3202 || defined(FEAT_GUI_PHOTON) || defined(FEAT_TERM_POPUP_MENU) \ |
3203 || defined(PROTO) | |
3203 /* | 3204 /* |
3204 * Translate window coordinates to buffer position without any side effects | 3205 * Translate window coordinates to buffer position without any side effects |
3205 */ | 3206 */ |
3206 int | 3207 int |
3207 get_fpos_of_mouse(pos_T *mpos) | 3208 get_fpos_of_mouse(pos_T *mpos) |