Patch level : 12.0 no-patch
Files correlati : Commento : Corretto cast
This commit is contained in:
parent
93f66cf6a6
commit
0a199bb95b
@ -1634,8 +1634,10 @@ void TButton_control::create(WINDOW win, short cid,
|
||||
mnemonic = txt[underscore+1];
|
||||
txt.strip("&~");
|
||||
}
|
||||
const char* t = parse_caption(txt, bold, big, color);
|
||||
if (width <= 0) width = strlen(t)+3;
|
||||
|
||||
const char* t = parse_caption(txt, bold, big, color);
|
||||
|
||||
if (width <= 0) width = (short) strlen(t)+3;
|
||||
|
||||
XI_RCT rct = coord2rct(get_interface(win), left, top, width, height);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user