fix border not showing
This commit is contained in:
parent
e78bbbe944
commit
a7e9f9ea14
1 changed files with 4 additions and 3 deletions
7
ccc.c
7
ccc.c
|
@ -464,9 +464,6 @@ void populate_files(const char *path, int ftype)
|
||||||
} else {
|
} else {
|
||||||
perror("ccc");
|
perror("ccc");
|
||||||
}
|
}
|
||||||
#if DRAW_BORDERS
|
|
||||||
draw_border_title(directory_border, true);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int get_directory_size(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)
|
int get_directory_size(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)
|
||||||
|
@ -573,6 +570,10 @@ void add_file_stat(char *filepath, int ftype)
|
||||||
*/
|
*/
|
||||||
void highlight_current_line()
|
void highlight_current_line()
|
||||||
{
|
{
|
||||||
|
#if DRAW_BORDERS
|
||||||
|
draw_border_title(directory_border, true);
|
||||||
|
#endif
|
||||||
|
|
||||||
long overflow = 0;
|
long overflow = 0;
|
||||||
if (current_selection > LINES - 4) {
|
if (current_selection > LINES - 4) {
|
||||||
/* overflown */
|
/* overflown */
|
||||||
|
|
Loading…
Reference in a new issue