Corretta set_prompt
git-svn-id: svn://10.65.10.50/trunk@2680 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
62c87bc729
commit
1a859406ee
@ -594,7 +594,7 @@ void TMask_field::set_prompt(const char* p)
|
||||
{
|
||||
WINDOW w = _promptwin != NULL_WIN ? _promptwin : _win;
|
||||
|
||||
word style = 0;
|
||||
word style = XVT_FS_NONE;
|
||||
for (const char* s = p; *s == '@'; s++)
|
||||
{
|
||||
s++;
|
||||
@ -605,8 +605,7 @@ void TMask_field::set_prompt(const char* p)
|
||||
default : CHECKS(0, "Invalid prompt style ", s); break;
|
||||
}
|
||||
}
|
||||
if (style)
|
||||
xvt_set_font(w, "", style, CHARY-12);
|
||||
xvt_set_font(w, "", style, style != XVT_FS_NONE ? CHARY-12 : 0);
|
||||
xvt_vobj_set_title(w, (char*)p);
|
||||
}
|
||||
|
||||
|
@ -1172,7 +1172,7 @@ void xvt_statbar_set(
|
||||
|
||||
// @doc INTERNAL
|
||||
|
||||
// @func Permette di cambiare il titolo alla barra di stato presente
|
||||
// @func Permette di aggiornare il titolo alla barra di stato presente
|
||||
void xvt_statbar_refresh()
|
||||
|
||||
// @xref <f xvt_create_statbar> <f xvt_statbar_set>
|
||||
|
Loading…
x
Reference in New Issue
Block a user