Mercurial > vim
comparison src/gui_motif.c @ 23501:60ba9ec58fd9 v8.2.2293
patch 8.2.2293: build failure with Motif
Commit: https://github.com/vim/vim/commit/bb0956fc65ebe8df1da823f9c4d6a0013d9ba5c1
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 3 22:12:15 2021 +0100
patch 8.2.2293: build failure with Motif
Problem: Build failure with Motif. (Tony Mechelynck)
Solution: Use empty_option instead of empty_options.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 03 Jan 2021 22:15:04 +0100 |
parents | f8382c4e6551 |
children | 982786f8454d |
comparison
equal
deleted
inserted
replaced
23500:f25657e33168 | 23501:60ba9ec58fd9 |
---|---|
3523 if (flags == FRD_UNDO) | 3523 if (flags == FRD_UNDO) |
3524 { | 3524 { |
3525 char_u *save_cpo = p_cpo; | 3525 char_u *save_cpo = p_cpo; |
3526 | 3526 |
3527 // No need to be Vi compatible here. | 3527 // No need to be Vi compatible here. |
3528 p_cpo = empty_options; | 3528 p_cpo = empty_option; |
3529 u_undo(1); | 3529 u_undo(1); |
3530 p_cpo = save_cpo; | 3530 p_cpo = save_cpo; |
3531 gui_update_screen(); | 3531 gui_update_screen(); |
3532 return; | 3532 return; |
3533 } | 3533 } |