diff --git a/include/maskfld.cpp b/include/maskfld.cpp index ff84c0663..0b52aee87 100755 --- a/include/maskfld.cpp +++ b/include/maskfld.cpp @@ -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); } diff --git a/include/xvtility.cpp b/include/xvtility.cpp index 0233a15cc..fa8a94497 100755 --- a/include/xvtility.cpp +++ b/include/xvtility.cpp @@ -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