diff options
author | Dana Conrad <dconrad@fastmail.com> | 2022-12-07 20:33:02 -0600 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2022-12-08 15:38:12 -0500 |
commit | 3555e84a7a0ce769305cbd19fc145619c5f7615b (patch) | |
tree | 1bbd614b7b8f2f328d8c43e276af770dac4a52bf /apps/bookmark.c | |
parent | f6f12db062697035a31309794ed1980040e09a53 (diff) | |
download | rockbox-3555e84a7a0ce769305cbd19fc145619c5f7615b.tar.gz rockbox-3555e84a7a0ce769305cbd19fc145619c5f7615b.zip |
Bugfix: some settings can have spaces in them
90bc769 strips spaces from the settings value, but it
goes to the first space rather than just stripping off
the last one. Break out of the loop when we find the
first non-space character.
Also change 0 to '\0' for readability.
Change-Id: I915b82a6d1603740998a67c575d08005456ffbd8
Diffstat (limited to 'apps/bookmark.c')
0 files changed, 0 insertions, 0 deletions