diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-10-22 16:11:41 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-10-22 16:15:46 -0400 |
commit | fb4650aa346a57da3d20525ca2a3124099a1a307 (patch) | |
tree | ce7365ba81a89f676a3435138340fe24b6ea546c /src/backlight | |
parent | d7f69e16f1a5b84e9acf1771a9b53da3787ae79d (diff) |
tree-wide: use startswith return value to avoid hardcoded offset
I think it's an antipattern to have to count the number of bytes in
the prefix by hand. We should do this automatically to avoid wasting
programmer time, and possible errors. I didn't any offsets that were
wrong, so this change is mostly to make future development easier.
Diffstat (limited to 'src/backlight')
0 files changed, 0 insertions, 0 deletions