Correction.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2216 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2006-01-20 06:01:43 +00:00
parent a270bd8985
commit 7533e6db28
+1 -1
View File
@@ -296,7 +296,7 @@ GetStringContents (STRING String, STRINGPTR StringBuf, BOOLEAN
COUNT StringLength; COUNT StringLength;
if ((StringAddr = GetStringAddress (String)) != 0 && if ((StringAddr = GetStringAddress (String)) != 0 &&
(StringLength = GetDirEntryLength (String)) != 0) (StringLength = GetStringLengthBin (String)) != 0)
{ {
memcpy (StringBuf, StringAddr, StringLength); memcpy (StringBuf, StringAddr, StringLength);
if (AppendSpace) if (AppendSpace)