… | |
… | |
2078 | /* add the menuBar title, if it exists and there's plenty of room */ |
2078 | /* add the menuBar title, if it exists and there's plenty of room */ |
2079 | Arrows_x = 0; |
2079 | Arrows_x = 0; |
2080 | if (x < ncol) |
2080 | if (x < ncol) |
2081 | { |
2081 | { |
2082 | const char *str; |
2082 | const char *str; |
2083 | int ncol; |
|
|
2084 | unsigned int len; |
2083 | unsigned int len; |
2085 | char title[256]; |
2084 | char title[256]; |
2086 | |
2085 | |
2087 | ncol = (int)ncol; |
|
|
2088 | if (x < (ncol - (NARROWS + 1))) |
2086 | if (x < (ncol - (NARROWS + 1))) |
2089 | { |
2087 | { |
2090 | ncol -= (NARROWS + 1); |
2088 | ncol -= (NARROWS + 1); |
2091 | Arrows_x = Width2Pixel (ncol); |
2089 | Arrows_x = Width2Pixel (ncol); |
2092 | } |
2090 | } |
|
|
2091 | |
2093 | draw_Arrows (0, +1); |
2092 | draw_Arrows (0, +1); |
2094 | |
2093 | |
2095 | str = (CurrentBar |
2094 | str = (CurrentBar |
2096 | && CurrentBar->title) ? CurrentBar->title : "%n-%v"; |
2095 | && CurrentBar->title) ? CurrentBar->title : "%n-%v"; |
2097 | for (len = 0; str[0] && len < sizeof (title) - 1; str++) |
2096 | for (len = 0; str[0] && len < sizeof (title) - 1; str++) |