Esempio n. 1
0
static int get_gdb_col(void)
{
    int result;

    switch (cur_split_orientation) {
        case WSO_HORIZONTAL:
            result = 0;
            break;
        case WSO_VERTICAL:
            result = get_sep_col() + get_sep_width();
            break;
    }

    return result;
}
Esempio n. 2
0
static int get_gdb_col(void)
{
    if (cur_split_orientation == SPLIT_VERTICAL)
        return get_sep_col() + get_sep_width();
    return 0;
}