[top_status_line] use the unique path for the filename if there is not enough room to display the full path

Trying to address #526
pull/536/head
Timothy Stack 6 years ago
parent 0ee6bdd5bf
commit 8df3ebf709

@ -132,7 +132,11 @@ public:
sf_format.clear();
}
sf_filename.set_value(lf->get_filename());
if (sf_filename.get_width() > lf->get_filename().length()) {
sf_filename.set_value(lf->get_filename());
} else {
sf_filename.set_value(lf->get_unique_path());
}
}
else {
sf_format.clear();

Loading…
Cancel
Save