Fixed captain/ship name truncated after entering

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2227 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2006-01-23 21:01:19 +00:00
parent 7137fb2366
commit f72b322d1b
+1 -1
View File
@@ -415,7 +415,7 @@ DoNaming (PMENU_STATE pMS)
tes.FrameCallback = 0;
if (DoTextEntry (&tes))
utf8StringCopy (Setting, sizeof (Setting), buf);
utf8StringCopy (Setting, tes.MaxSize, buf);
else
utf8StringCopy (buf, sizeof (buf), Setting);
DrawDescriptionString (pMS, 0, DDSHS_NORMAL);