comparison src/undo.c @ 20585:0b55c9a14ea1 v8.2.0846

patch 8.2.0846: build failure with small features Commit: https://github.com/vim/vim/commit/d5c2c7763d73b91efd64a49da8221f9955debdd5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 30 16:17:33 2020 +0200 patch 8.2.0846: build failure with small features Problem: Build failure with small features. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 May 2020 16:30:03 +0200
parents e529690f27bc
children 9064044fd4f6
comparison
equal deleted inserted replaced
20584:126ad2c08556 20585:0b55c9a14ea1
373 ul->ul_line = vim_memsave(line, ul->ul_len); 373 ul->ul_line = vim_memsave(line, ul->ul_len);
374 } 374 }
375 return ul->ul_line == NULL ? FAIL : OK; 375 return ul->ul_line == NULL ? FAIL : OK;
376 } 376 }
377 377
378 #ifdef FEAT_PROP_POPUP
378 /* 379 /*
379 * return TRUE if line "lnum" has text property "flags". 380 * return TRUE if line "lnum" has text property "flags".
380 */ 381 */
381 static int 382 static int
382 has_prop_w_flags(linenr_T lnum, int flags) 383 has_prop_w_flags(linenr_T lnum, int flags)
393 if (prop.tp_flags & flags) 394 if (prop.tp_flags & flags)
394 return TRUE; 395 return TRUE;
395 } 396 }
396 return FALSE; 397 return FALSE;
397 } 398 }
399 #endif
398 400
399 /* 401 /*
400 * Common code for various ways to save text before a change. 402 * Common code for various ways to save text before a change.
401 * "top" is the line above the first changed line. 403 * "top" is the line above the first changed line.
402 * "bot" is the line below the last changed line. 404 * "bot" is the line below the last changed line.