comparison src/edit.c @ 11617:1d6bcb9ff291 v8.0.0691

patch 8.0.0691: compiler warning without the linebreak feature commit https://github.com/vim/vim/commit/a83fe75ca76f6f74daa1e5a620054b973b43379b Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 29 22:33:13 2017 +0200 patch 8.0.0691: compiler warning without the linebreak feature Problem: Compiler warning without the linebreak feature. Solution: Add #ifdef. (John Marriott)
author Christian Brabandt <cb@256bit.org>
date Thu, 29 Jun 2017 22:45:03 +0200
parents c8fd52807897
children 60cf03e59402
comparison
equal deleted inserted replaced
11616:48ca57b8b2a7 11617:1d6bcb9ff291
7327 oneleft(void) 7327 oneleft(void)
7328 { 7328 {
7329 #ifdef FEAT_VIRTUALEDIT 7329 #ifdef FEAT_VIRTUALEDIT
7330 if (virtual_active()) 7330 if (virtual_active())
7331 { 7331 {
7332 # ifdef FEAT_LINEBREAK
7332 int width; 7333 int width;
7334 # endif
7333 int v = getviscol(); 7335 int v = getviscol();
7334 7336
7335 if (v == 0) 7337 if (v == 0)
7336 return FAIL; 7338 return FAIL;
7337 7339