Fix vertical split regression by hardcoding the split parameter
commitc1b40f1c641cd29ed647e2e6c59bc0c235471fd6
authorJonas Fonseca <jonas.fonseca@gmail.com>
Mon, 24 Feb 2014 22:38:55 +0000 (24 17:38 -0500)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Mon, 24 Feb 2014 22:38:55 +0000 (24 17:38 -0500)
tree1056adac4df16bdaf27b9f994af6a5a6eceaf815
parent950221b03ca5908f05941389c0b9c6bbeeaa98c7
Fix vertical split regression by hardcoding the split parameter

This fixes vertical splitting by turning opt_scale_vsplit_view into the
VSPLIT_SCALE #define which hard-codes the width scale to 0.5. The
regression was introduced when the default option values where moved to
tigrc and the value for opt_scale_vsplit_view was removed. This caused
the vertical split to only asign a width of 4 columns to the right-most
view.
include/tig.h
src/tig.c