|author||Zbigniew Jędrzejewski-Szmek <firstname.lastname@example.org>||2016-10-22 16:11:41 -0400|
|committer||Sven Eden <email@example.com>||2017-07-17 17:58:34 +0200|
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/basic/string-util.h')
0 files changed, 0 insertions, 0 deletions