浏览代码

fix the line break character in ff.c

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2390 bbd45198-f89e-11dd-88c7-29a3b14d5316
goprife@gmail.com 12 年之前
父节点
当前提交
eda62844c1
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      components/dfs/filesystems/elmfat/ff.c

+ 7 - 7
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;