git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4345 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2009-04-15 16:12:22 +00:00
parent d54a6fa7d8
commit 39d3868406
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ struct mitemtextinput : mitemtext
virtual int width()
{
int labelw = text_width(text);
int maxw = min(input.max, 15) * text_width("w");
int maxw = min(input.max, 15)*text_width("w"); // w is broadest, not a - but limit to 15*w
return labelw + maxw;
}