Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
baskerville committed Nov 2, 2020
1 parent 01107f9 commit 5198399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/query.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) == '#') {
Expand Down

0 comments on commit 5198399

Please sign in to comment.