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 FATFileSystem by
Revision 5:818894218410, committed 2015-03-14
- Comitter:
- byiu3
- Date:
- Sat Mar 14 15:45:19 2015 +0000
- Parent:
- 4:3ff2606d5713
- Commit message:
- Changed something, i can't remember what
Changed in this revision
ChaN/ff.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ChaN/ff.cpp Thu Aug 28 13:15:31 2014 +0100 +++ b/ChaN/ff.cpp Sat Mar 14 15:45:19 2015 +0000 @@ -1684,8 +1684,9 @@ w &= 0xFF; if (IsDBCS1(w)) { /* Check if it is a DBC 1st byte (always false on SBCS cfg) */ b = (BYTE)p[si++]; /* Get 2nd byte */ - if (!IsDBCS2(b)) + if (!IsDBCS2(b)) { return FR_INVALID_NAME; /* Reject invalid sequence */ + } w = (w << 8) + b; /* Create a DBC */ } w = ff_convert(w, 1); /* Convert ANSI/OEM to Unicode */