]> git.sur5r.net Git - i3/i3/commit
i3bar: replace magic numbers with more meaningful constructs 3052/head
authorDaniel Mueller <deso@posteo.net>
Fri, 17 Nov 2017 14:58:12 +0000 (06:58 -0800)
committerDaniel Mueller <deso@posteo.net>
Fri, 17 Nov 2017 14:58:12 +0000 (06:58 -0800)
commit222d8210abaae69f91f8834a6d3045489d5b48ef
tree38ee5afb41c2fc709f1f82d73689fd864ca65279
parentd1f8266df068c4ba15019f34c8318f342f7ecb83
i3bar: replace magic numbers with more meaningful constructs

In i3bar/src/config.c we compare string lengths agains magic numbers.
This change replaces those numbers with the lengths of the strings they
represent.
i3bar/src/config.c