summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-11-04 06:02:40 +0000
committer[email protected] <[email protected]>2012-11-04 06:02:40 +0000
commiteda62844c122322460b3fbbcb03d471d4746df46 (patch)
tree2bb54a5594e8acb88907749e29b541844eeee279
parent6e242e05298d024a4b612783489547e305f91c6c (diff)
fix the line break character in ff.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2390 bbd45198-f89e-11dd-88c7-29a3b14d5316
-rw-r--r--components/dfs/filesystems/elmfat/ff.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/components/dfs/filesystems/elmfat/ff.c b/components/dfs/filesystems/elmfat/ff.c
index e967bc76d7..014d70f590 100644
--- a/components/dfs/filesystems/elmfat/ff.c
+++ b/components/dfs/filesystems/elmfat/ff.c
@@ -522,13 +522,13 @@ void mem_cpy (void* dst, const void* src, UINT cnt) {
BYTE *d = (BYTE*)dst;
const BYTE *s = (const BYTE*)src;
-#if _WORD_ACCESS == 1
- if (((unsigned)d & 0x03)!=0 || ((unsigned)s & 0x03)!=0)
- {
- while (cnt--)
- *d++ = *s++;
- return;
- }
+#if _WORD_ACCESS == 1
+ if (((unsigned)d & 0x03)!=0 || ((unsigned)s & 0x03)!=0)
+ {
+ while (cnt--)
+ *d++ = *s++;
+ return;
+ }
while (cnt >= sizeof(int)) {
*(int*)d = *(int*)s;