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:
@@ -415,7 +415,7 @@ DoNaming (PMENU_STATE pMS)
|
|||||||
tes.FrameCallback = 0;
|
tes.FrameCallback = 0;
|
||||||
|
|
||||||
if (DoTextEntry (&tes))
|
if (DoTextEntry (&tes))
|
||||||
utf8StringCopy (Setting, sizeof (Setting), buf);
|
utf8StringCopy (Setting, tes.MaxSize, buf);
|
||||||
else
|
else
|
||||||
utf8StringCopy (buf, sizeof (buf), Setting);
|
utf8StringCopy (buf, sizeof (buf), Setting);
|
||||||
DrawDescriptionString (pMS, 0, DDSHS_NORMAL);
|
DrawDescriptionString (pMS, 0, DDSHS_NORMAL);
|
||||||
|
|||||||
Reference in New Issue
Block a user