summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
27f0192)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@34
6f19259b-4bc3-4df7-8a09-
765794883524
\r
ReturnValue = Destination;\r
\r
\r
ReturnValue = Destination;\r
\r
- while ((*Source != L'\0') && (Length > 1)) {\r
+ while ((*Source != L'\0') && (Length > 0)) {\r
*(Destination++) = *(Source++);\r
Length--;\r
}\r
*(Destination++) = *(Source++);\r
Length--;\r
}\r
\r
ReturnValue = Destination;\r
\r
\r
ReturnValue = Destination;\r
\r
- while (*Source && Length > 1) {\r
+ while (*Source && Length > 0) {\r
*(Destination++) = *(Source++);\r
Length--;\r
}\r
*(Destination++) = *(Source++);\r
Length--;\r
}\r