]> git.lizzy.rs Git - bspwm.git/commitdiff
Fix comment
authorBastien Dejean <nihilhill@gmail.com>
Mon, 2 Nov 2020 09:23:50 +0000 (10:23 +0100)
committerBastien Dejean <nihilhill@gmail.com>
Mon, 2 Nov 2020 09:23:50 +0000 (10:23 +0100)
src/query.c

index ccfc146c0620f69f69859ca29b3a95f28f40254b..3c11068f54b660e0158d40c4d7f0860a8875c08d 100644 (file)
@@ -542,7 +542,7 @@ int node_from_desc(char *desc, coordinates_t *ref, coordinates_t *dst)
        char *path = strrchr(desc, '@');
        char *colon = strrchr(desc, ':');
 
-       /* Discard hashes inside a DESKTOP_SEL, e.g. `newest#@prev#older:/1/2` */
+       /* Adjust or discard hashes inside a DESKTOP_SEL, e.g. `newest#@prev#older:/1/2` */
        if (hash != NULL && colon != NULL && path != NULL &&
            path < hash && hash < colon) {
                if (path > desc && *(path - 1) == '#') {