comparison src/option.c @ 148:72aefd4c1e0d

updated for version 7.0046
author vimboss
date Mon, 31 Jan 2005 19:19:04 +0000
parents bcb347a8f934
children 6df0106fc595
comparison
equal deleted inserted replaced
147:2f5a3b881ada 148:72aefd4c1e0d
4906 && get_var_value((char_u *)"g:colors_name") != NULL) 4906 && get_var_value((char_u *)"g:colors_name") != NULL)
4907 { 4907 {
4908 /* The color scheme must have set 'background' back to another 4908 /* The color scheme must have set 'background' back to another
4909 * value, that's not what we want here. Disable the color 4909 * value, that's not what we want here. Disable the color
4910 * scheme and set the colors again. */ 4910 * scheme and set the colors again. */
4911 do_unlet((char_u *)"g:colors_name"); 4911 do_unlet((char_u *)"g:colors_name", TRUE);
4912 free_string_option(p_bg); 4912 free_string_option(p_bg);
4913 p_bg = vim_strsave((char_u *)(dark ? "dark" : "light")); 4913 p_bg = vim_strsave((char_u *)(dark ? "dark" : "light"));
4914 check_string_option(&p_bg); 4914 check_string_option(&p_bg);
4915 init_highlight(FALSE, FALSE); 4915 init_highlight(FALSE, FALSE);
4916 } 4916 }