diff --git a/in/in0200.cpp b/in/in0200.cpp index f4fd8eab4..52cd57853 100755 --- a/in/in0200.cpp +++ b/in/in0200.cpp @@ -515,7 +515,7 @@ void TDischetto_mask::genera_dischetto(char tip, int mode) (const char*)name); return; } - ic._disksize = os_get_disk_size(name) - (64L*1024L); + ic._disksize = xvt_fsys_get_disk_size(name, 'b') - (64L*1024L); ic._written = 0; const long total = ic._righe_riep + ic._righe_rett; diff --git a/in/in0500.cpp b/in/in0500.cpp index 670333a75..190b3e28d 100755 --- a/in/in0500.cpp +++ b/in/in0500.cpp @@ -28,6 +28,7 @@ protected: virtual bool on_field_event(TOperable_field& o, TField_event e, long jolly); bool on_sheet_event(TSheet_field& s, TField_event e, int row); bool on_sheet_field_event(TOperable_field& o, TField_event e, long jolly); + virtual bool on_key(KEY k); void enable_valuta(); @@ -69,6 +70,15 @@ void TImmissione_mask::enable_valuta() enable(F_CAMBIO, gestval); } +bool TImmissione_mask::on_key(KEY k) +{ + if (k == K_CTRL + '+') + { + TSheet_field& s = sfield(F_RIGHE); + } + return TMask::on_key(k); +} + bool TImmissione_mask::on_field_event(TOperable_field& o, TField_event e, long jolly) { const short id = o.dlg();