cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4345 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user