Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/index.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ void init_index_mode(void)
text_area_h = fh + 5;

/* This includes the text area for index data */
tot_thumb_h = opt.thumb_h + text_area_h;
if(opt.montage) {
tot_thumb_h = opt.thumb_h;
} else {
tot_thumb_h = opt.thumb_h + text_area_h;
}

/* Use bg image dimensions for default size */
if (opt.bg && opt.bg_file) {
Expand Down
1 change: 1 addition & 0 deletions src/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
break;
case OPTION_montage:
opt.index = 1;
opt.montage = 1;
break;
case OPTION_reverse:
opt.reverse = 1;
Expand Down