summaryrefslogtreecommitdiffstats
path: root/src/gui/BreadCrumbs.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-18 01:41:57 -0400
committerDavid Robillard <d@drobilla.net>2022-08-18 01:41:57 -0400
commitf8eee81f6f94d018ab7c1133bf2b78926316edf8 (patch)
tree6b07e0da7df5e6df1bc87bff7b5e96d3a067452d /src/gui/BreadCrumbs.cpp
parent4564d719745848386a0662a44a47a8400c799560 (diff)
downloadingen-f8eee81f6f94d018ab7c1133bf2b78926316edf8.tar.gz
ingen-f8eee81f6f94d018ab7c1133bf2b78926316edf8.tar.bz2
ingen-f8eee81f6f94d018ab7c1133bf2b78926316edf8.zip
Fix overly long line comments
Diffstat (limited to 'src/gui/BreadCrumbs.cpp')
-rw-r--r--src/gui/BreadCrumbs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/BreadCrumbs.cpp b/src/gui/BreadCrumbs.cpp
index 041c3f51..46a0757a 100644
--- a/src/gui/BreadCrumbs.cpp
+++ b/src/gui/BreadCrumbs.cpp
@@ -77,7 +77,7 @@ BreadCrumbs::build(const raul::Path& path,
b->set_view(view);
}
- // views are expensive, having two around for the same graph is a bug
+ // Views are expensive, having two around is a bug
assert(b->view() == view);
} else {
@@ -89,7 +89,7 @@ BreadCrumbs::build(const raul::Path& path,
_enable_signal = old_enable_signal;
} else if (!_breadcrumbs.empty() && path.is_child_of(_full_path)) {
- // Moving to a child of the full path, just append crumbs (preserve view cache)
+ // Moving to a child of the full path, append crumbs (preserve cache)
string suffix = path.substr(_full_path.length());
while (suffix.length() > 0) {
@@ -115,8 +115,8 @@ BreadCrumbs::build(const raul::Path& path,
_breadcrumbs.back()->set_active(true);
} else {
- // Rebuild from scratch
- // Getting here is bad unless absolutely necessary, since the GraphView cache is lost
+ /* Rebuild from scratch. Getting here is bad unless absolutely
+ necessary, since the GraphView cache is lost. */
_full_path = path;
_active_path = path;