diff options
author | h-east <h.east.727@gmail.com> | 2021-12-06 11:24:09 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-06 11:24:09 +0000 |
commit | 8603be338ac810446f23c092f21bc6082f787519 (patch) | |
tree | 29b51e141d318790ef87003df4ff3067f3f1e044 /src/beval.c | |
parent | 6409553b6e3b4de4e1d72b8ee5445595214581ff (diff) |
patch 8.2.3752: build error when using Photon GUIv8.2.3752
Problem: Build error when using Photon GUI.
Solution: Adjust #ifdef. (closes #9288)
Diffstat (limited to 'src/beval.c')
-rw-r--r-- | src/beval.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/beval.c b/src/beval.c index dd7bc3cdc7..8e0efb5e2b 100644 --- a/src/beval.c +++ b/src/beval.c @@ -150,18 +150,18 @@ get_beval_info( int row = mouse_row; int col = mouse_col; -# ifdef FEAT_GUI +# ifdef FEAT_BEVAL_GUI if (gui.in_use) { row = Y_2_ROW(beval->y); col = X_2_COL(beval->x); } -#endif +# endif if (find_word_under_cursor(row, col, getword, FIND_IDENT + FIND_STRING + FIND_EVAL, winp, lnump, textp, colp, NULL) == OK) { -#ifdef FEAT_VARTABS +# ifdef FEAT_VARTABS vim_free(beval->vts); beval->vts = tabstop_copy((*winp)->w_buffer->b_p_vts_array); if ((*winp)->w_buffer->b_p_vts_array != NULL && beval->vts == NULL) @@ -170,7 +170,7 @@ get_beval_info( vim_free(*textp); return FAIL; } -#endif +# endif beval->ts = (*winp)->w_buffer->b_p_ts; return OK; } |