Mercurial > vim
comparison src/screen.c @ 17145:26941c50baf3 v8.1.1572
patch 8.1.1572: compiler warnings with tiny build
commit https://github.com/vim/vim/commit/e9726e31feafebf3548990b686b810900a0bff43
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 19 18:01:21 2019 +0200
patch 8.1.1572: compiler warnings with tiny build
Problem: Compiler warnings with tiny build. (Tony Mechelynck)
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 19 Jun 2019 18:15:05 +0200 |
parents | ee090ecd70f6 |
children | f16cee6adf29 |
comparison
equal
deleted
inserted
replaced
17144:533daf563400 | 17145:26941c50baf3 |
---|---|
3251 int multi_attr = 0; /* attributes desired by multibyte */ | 3251 int multi_attr = 0; /* attributes desired by multibyte */ |
3252 int mb_l = 1; /* multi-byte byte length */ | 3252 int mb_l = 1; /* multi-byte byte length */ |
3253 int mb_c = 0; /* decoded multi-byte character */ | 3253 int mb_c = 0; /* decoded multi-byte character */ |
3254 int mb_utf8 = FALSE; /* screen char is UTF-8 char */ | 3254 int mb_utf8 = FALSE; /* screen char is UTF-8 char */ |
3255 int u8cc[MAX_MCO]; /* composing UTF-8 chars */ | 3255 int u8cc[MAX_MCO]; /* composing UTF-8 chars */ |
3256 #if defined(FEAT_DIFF) || defined(FEAT_SIGNS) | |
3256 int filler_lines = 0; /* nr of filler lines to be drawn */ | 3257 int filler_lines = 0; /* nr of filler lines to be drawn */ |
3257 int filler_todo = 0; /* nr of filler lines still to do + 1 */ | 3258 int filler_todo = 0; /* nr of filler lines still to do + 1 */ |
3259 #endif | |
3258 #ifdef FEAT_DIFF | 3260 #ifdef FEAT_DIFF |
3259 hlf_T diff_hlf = (hlf_T)0; /* type of diff highlighting */ | 3261 hlf_T diff_hlf = (hlf_T)0; /* type of diff highlighting */ |
3260 int change_start = MAXCOL; /* first col of changed area */ | 3262 int change_start = MAXCOL; /* first col of changed area */ |
3261 int change_end = -1; /* last col of changed area */ | 3263 int change_end = -1; /* last col of changed area */ |
3262 #endif | 3264 #endif |