Cosmetics
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1782 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: fc4234eb46877e2b24f4e6f68bebf90253006500 Former-commit-id: 744c311cb09a8a5ed6a6379dac519cbc42f2ea5c
This commit is contained in:
parent
93b45ae496
commit
d0825224d2
1 changed files with 0 additions and 1 deletions
|
@ -434,7 +434,6 @@ CreateLabel(void *menuHandle,void *param,const char *pControlName)
|
|||
const char* pszAlignH = GfParmGetStr(param, pControlName, "alignH", "");
|
||||
const char* pszAlignV = GfParmGetStr(param, pControlName, "alignV", "");
|
||||
const int alignment = GetAlignment(pszAlignH,pszAlignV);
|
||||
// Note: Defaul maxlen = 32 because if 0, strlen(pszText) will be used for ever.
|
||||
const int maxlen = (int)GfParmGetNum(param,pControlName,"maxlen",NULL,32.0);
|
||||
|
||||
int labelId = GfuiLabelCreate(menuHandle, pszText, textsize, x, y, alignment, maxlen);
|
||||
|
|
Loading…
Reference in a new issue