projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NOOP, remove trailing tabs/whitespace.
[ardour.git]
/
libs
/
pbd
/
shortpath.cc
diff --git
a/libs/pbd/shortpath.cc
b/libs/pbd/shortpath.cc
index d2d5addc94d296e70b7384f48fdf52b0ded4304a..3d33611b87caccb090ff88c29a34a0b38cefd80a 100644
(file)
--- a/
libs/pbd/shortpath.cc
+++ b/
libs/pbd/shortpath.cc
@@
-57,7
+57,7
@@
short_path (const Glib::ustring& path, ustring::size_type target_characters)
return path;
}
}
-
+
uint32_t so_far = (len - last_sep);
uint32_t space_for = target_characters - so_far;
@@
-71,6
+71,6
@@
short_path (const Glib::ustring& path, ustring::size_type target_characters)
res += path.substr (last_sep - space_for, len - last_sep + space_for - 3);
res += "...";
return res;
-
+
}
}