Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ConfigFile by
Revision 7:0a8c1d05611b, committed 2015-01-10
- Comitter:
- jaerts
- Date:
- Sat Jan 10 14:04:59 2015 +0000
- Parent:
- 6:78404e968c3e
- Commit message:
- Fix bug that prevents reading values with length=1
Changed in this revision
| ConfigFile.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ConfigFile.cpp Mon Dec 29 10:01:31 2014 +0000
+++ b/ConfigFile.cpp Sat Jan 10 14:04:59 2015 +0000
@@ -103,7 +103,7 @@
break;
}
}
- if ( s == 99 && m > 1) // key found, and value assigned
+ if ( s == 99 && m >= 1) // key found, and value assigned
{
*value = 0; // terminate string
return true;
