comparison src/option.c @ 3263:320cc46d0eb0 v7.3.400

updated for version 7.3.400 Problem: Compiler warnings for shadowed variables. Solution: Remove or rename the variables.
author Bram Moolenaar <bram@vim.org>
date Tue, 10 Jan 2012 22:26:17 +0100
parents c4898d6d73a2
children 076003f52582
comparison
equal deleted inserted replaced
3262:373b8b5fee95 3263:320cc46d0eb0
8582 static void 8582 static void
8583 check_redraw(flags) 8583 check_redraw(flags)
8584 long_u flags; 8584 long_u flags;
8585 { 8585 {
8586 /* Careful: P_RCLR and P_RALL are a combination of other P_ flags */ 8586 /* Careful: P_RCLR and P_RALL are a combination of other P_ flags */
8587 int clear = (flags & P_RCLR) == P_RCLR; 8587 int doclear = (flags & P_RCLR) == P_RCLR;
8588 int all = ((flags & P_RALL) == P_RALL || clear); 8588 int all = ((flags & P_RALL) == P_RALL || doclear);
8589 8589
8590 #ifdef FEAT_WINDOWS 8590 #ifdef FEAT_WINDOWS
8591 if ((flags & P_RSTAT) || all) /* mark all status lines dirty */ 8591 if ((flags & P_RSTAT) || all) /* mark all status lines dirty */
8592 status_redraw_all(); 8592 status_redraw_all();
8593 #endif 8593 #endif
8594 8594
8595 if ((flags & P_RBUF) || (flags & P_RWIN) || all) 8595 if ((flags & P_RBUF) || (flags & P_RWIN) || all)
8596 changed_window_setting(); 8596 changed_window_setting();
8597 if (flags & P_RBUF) 8597 if (flags & P_RBUF)
8598 redraw_curbuf_later(NOT_VALID); 8598 redraw_curbuf_later(NOT_VALID);
8599 if (clear) 8599 if (doclear)
8600 redraw_all_later(CLEAR); 8600 redraw_all_later(CLEAR);
8601 else if (all) 8601 else if (all)
8602 redraw_all_later(NOT_VALID); 8602 redraw_all_later(NOT_VALID);
8603 } 8603 }
8604 8604