Patch level : 10.0
Files correlati : ba0 Ricompilazione Demo : [ ] Commento : Corretto errore 0000933: cambio studio Descrizione con la versione installata ieri il cambio studio sembra impostare correttamente i parametri ma il file campo.ini non viene impostato. git-svn-id: svn://10.65.10.50/trunk@17452 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
f87648c9ec
commit
3f1ed984f9
@ -534,9 +534,11 @@ bool TColor_mask::apply_theme()
|
||||
}
|
||||
xvt_mem_free((DATA_PTR)cc);
|
||||
|
||||
XVT_FNTID fontid = xvt_res_get_font(0);
|
||||
XVT_FNTID defont = xvt_default_font(false, false); // Legge il font standard
|
||||
XVT_FNTID fontid = xvt_res_get_font(0); // Legge il font di sistema
|
||||
xvt_font_set_size(fontid, xvt_font_get_size(defont)); // Forza l'altezza standard
|
||||
xvt_font_serialize(fontid, _font_desc.get_buffer(), _font_desc.size());
|
||||
xvt_font_destroy(fontid);
|
||||
xvt_font_destroy(fontid); // Rilascia il font di sistema
|
||||
set(214, "X"); // System buttons
|
||||
applied = true;
|
||||
}
|
||||
|
@ -384,8 +384,9 @@ void TSubmenu::read(TScanner& scanner)
|
||||
mod.strip_spaces();
|
||||
FOR_EACH_TOKEN(mod, cod)
|
||||
{
|
||||
const word code = dongle().module_name2code(cod);
|
||||
if (main_app().has_module(code))
|
||||
//const word code = dongle().module_name2code(cod);
|
||||
//if (main_app().has_module(code))
|
||||
if (_menu->has_module(cod))
|
||||
{
|
||||
disable = false;
|
||||
break;
|
||||
|
@ -581,11 +581,14 @@ TOutlook_mask::TOutlook_mask(TMenu& menu) : _tree(menu), _locked(false)
|
||||
int i = 0;
|
||||
for (bool ok = _tree.goto_root(); ok; ok = _tree.goto_rbrother())
|
||||
{
|
||||
_tree.get_description(caption);
|
||||
const TMenuitem& mi = _tree.curr_item();
|
||||
const int ico = mi.enabled() ? mi.icon() : 10203;
|
||||
of->add_item(ico, caption, 0);
|
||||
_icon[i++] = ico; // Memorizza icona per orecchie
|
||||
if (mi.enabled())
|
||||
{
|
||||
_tree.get_description(caption);
|
||||
const int ico = mi.icon();
|
||||
of->add_item(ico, caption, 0);
|
||||
_icon[i++] = ico; // Memorizza icona per orecchie
|
||||
}
|
||||
}
|
||||
|
||||
const int minimain = 800;
|
||||
|
@ -47,7 +47,7 @@ HIDDEN bool build_dninst()
|
||||
char line[256];
|
||||
inf.getline(line, sizeof(line));
|
||||
const int year = atoi(line);
|
||||
CHECKD(year >= 2006 && year <= 3000, "Anno errato:", year);
|
||||
CHECKD(year >= 2091 && year <= 3000, "Anno errato:", year);
|
||||
srand(883); // Inizializza generatore numeri casuali per l'anno
|
||||
encode_string(dninst_key, line);
|
||||
ouf << line << '\n';
|
||||
|
Loading…
x
Reference in New Issue
Block a user