mirror of
https://github.com/vale981/bspwm
synced 2025-03-04 17:31:39 -05:00
Fix comment
This commit is contained in:
parent
01107f974b
commit
51983994fa
1 changed files with 1 additions and 1 deletions
|
@ -542,7 +542,7 @@ int node_from_desc(char *desc, coordinates_t *ref, coordinates_t *dst)
|
||||||
char *path = strrchr(desc, '@');
|
char *path = strrchr(desc, '@');
|
||||||
char *colon = 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 &&
|
if (hash != NULL && colon != NULL && path != NULL &&
|
||||||
path < hash && hash < colon) {
|
path < hash && hash < colon) {
|
||||||
if (path > desc && *(path - 1) == '#') {
|
if (path > desc && *(path - 1) == '#') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue