cfiles.c ????
codeb.c Migliorata hashfun msksheet.cpp Corretta gestione eliminazione righe in edit git-svn-id: svn://10.65.10.50/trunk@2392 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
49b4babbca
commit
b0f727ea6b
2784
include/cfiles.c
2784
include/cfiles.c
File diff suppressed because it is too large
Load Diff
@ -467,7 +467,7 @@ int DB_rewrite(int handle)
|
||||
if (rt == e4unique)
|
||||
{
|
||||
DB_get_error();
|
||||
fatal_box("Errore in DB_rewrite(): chiav duplicata nell' indice %ld, file %s",
|
||||
fatal_box("Errore in DB_rewrite(): chiave duplicata nel record %ld, file %s",
|
||||
dbdata[handle]->rec_num + 1, dbdata[handle]->file.name);
|
||||
}
|
||||
rt=DB_unlock(handle);
|
||||
|
@ -942,9 +942,10 @@ void TSpreadsheet::list_handler(XI_EVENT *xiev)
|
||||
if (_cur_rec >= items())
|
||||
{
|
||||
_row_dirty = _cell_dirty = FALSE;
|
||||
set_pos(0, 1);
|
||||
_cur_rec = items()-1;
|
||||
_cur_row = 0; _cur_col = 1;
|
||||
}
|
||||
if (_cur_rec >= 0)
|
||||
if (_cur_rec >= 0 && _cur_rec < items())
|
||||
set_focus_cell(_cur_row, _cur_col);
|
||||
_check_enabled = TRUE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user