Browse Source

delete a needless tab in function
char *rt_strncpy(char *dst, const char *src, rt_ubase_t n)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1887 bbd45198-f89e-11dd-88c7-29a3b14d5316

dzzxzz 13 years ago
parent
commit
2e9291357d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/kservice.c

+ 1 - 1
src/kservice.c

@@ -374,7 +374,7 @@ char *rt_strncpy(char *dst, const char *src, rt_ubase_t n)
 			{
 			{
 				/* NUL pad the remaining n-1 bytes */
 				/* NUL pad the remaining n-1 bytes */
 				while (--n != 0)
 				while (--n != 0)
-						*d++ = 0;
+					*d++ = 0;
 				break;
 				break;
 			}
 			}
 		} while (--n != 0);
 		} while (--n != 0);