comparison src/screen.c @ 119:e8f07016e34d

updated for version 7.0042
author vimboss
date Wed, 19 Jan 2005 22:18:32 +0000
parents 6b9e8f951af4
children 72aefd4c1e0d
comparison
equal deleted inserted replaced
118:45fd0ec37cf3 119:e8f07016e34d
1922 n = wp->w_p_fdc; 1922 n = wp->w_p_fdc;
1923 1923
1924 if (n > 0) 1924 if (n > 0)
1925 { 1925 {
1926 /* draw the fold column at the right */ 1926 /* draw the fold column at the right */
1927 if (n > wp->w_width) 1927 if (n > W_WIDTH(wp))
1928 n = wp->w_width; 1928 n = W_WIDTH(wp);
1929 screen_fill(W_WINROW(wp) + row, W_WINROW(wp) + endrow, 1929 screen_fill(W_WINROW(wp) + row, W_WINROW(wp) + endrow,
1930 W_ENDCOL(wp) - n, (int)W_ENDCOL(wp), 1930 W_ENDCOL(wp) - n, (int)W_ENDCOL(wp),
1931 ' ', ' ', hl_attr(HLF_FC)); 1931 ' ', ' ', hl_attr(HLF_FC));
1932 } 1932 }
1933 # endif 1933 # endif
1935 if (draw_signcolumn(wp)) 1935 if (draw_signcolumn(wp))
1936 { 1936 {
1937 int nn = n + 2; 1937 int nn = n + 2;
1938 1938
1939 /* draw the sign column left of the fold column */ 1939 /* draw the sign column left of the fold column */
1940 if (nn > wp->w_width) 1940 if (nn > W_WIDTH(wp))
1941 nn = wp->w_width; 1941 nn = W_WIDTH(wp);
1942 screen_fill(W_WINROW(wp) + row, W_WINROW(wp) + endrow, 1942 screen_fill(W_WINROW(wp) + row, W_WINROW(wp) + endrow,
1943 W_ENDCOL(wp) - nn, (int)W_ENDCOL(wp) - n, 1943 W_ENDCOL(wp) - nn, (int)W_ENDCOL(wp) - n,
1944 ' ', ' ', hl_attr(HLF_SC)); 1944 ' ', ' ', hl_attr(HLF_SC));
1945 n = nn; 1945 n = nn;
1946 } 1946 }