Mercurial > vim
comparison src/option.c @ 1017:0d31f8a78ab3 v7.0.143
updated for version 7.0-143
author | vimboss |
---|---|
date | Tue, 17 Oct 2006 16:34:24 +0000 |
parents | 09d0e83c29b8 |
children | 313ec58cdc49 |
comparison
equal
deleted
inserted
replaced
1016:4bc81d4dc6be | 1017:0d31f8a78ab3 |
---|---|
3403 options[opt_idx].flags &= ~P_ALLOCED; | 3403 options[opt_idx].flags &= ~P_ALLOCED; |
3404 } | 3404 } |
3405 } | 3405 } |
3406 else if (flags & P_NUM) | 3406 else if (flags & P_NUM) |
3407 { | 3407 { |
3408 if (varp == (char_u *)PV_SCROLL) | 3408 if (options[opt_idx].indir == PV_SCROLL) |
3409 win_comp_scroll(curwin); | 3409 win_comp_scroll(curwin); |
3410 else | 3410 else |
3411 { | 3411 { |
3412 *(long *)varp = (long)(long_i)options[opt_idx].def_val[dvi]; | 3412 *(long *)varp = (long)(long_i)options[opt_idx].def_val[dvi]; |
3413 /* May also set global value for local option. */ | 3413 /* May also set global value for local option. */ |