patch 8.0.1688: some macros are used without a semicolon
Problem: Some macros are used without a semicolon, causing auto-indent to be wrong. Solution: Use the do-while(0) trick. (Ozaki Kiichi, closes #2729)
Showing
- src/buffer.c 1 addition, 1 deletionsrc/buffer.c
- src/dosinst.c 8 additions, 1 deletionsrc/dosinst.c
- src/ex_cmds.c 3 additions, 3 deletionssrc/ex_cmds.c
- src/gui_at_sb.c 5 additions, 1 deletionsrc/gui_at_sb.c
- src/macros.h 4 additions, 4 deletionssrc/macros.h
- src/main.c 1 addition, 1 deletionsrc/main.c
- src/memline.c 2 additions, 2 deletionssrc/memline.c
- src/option.c 1 addition, 1 deletionsrc/option.c
- src/os_vms.c 1 addition, 1 deletionsrc/os_vms.c
- src/screen.c 14 additions, 8 deletionssrc/screen.c
- src/version.c 2 additions, 0 deletionssrc/version.c
- src/window.c 33 additions, 26 deletionssrc/window.c
Loading
Please register or sign in to comment