parent
39c12c08e0
commit
2a4071f8dc
@ -330,7 +330,7 @@ static void do_attribute(Sheet *cursheet, Key action)
|
|||||||
adj = LEFT;
|
adj = LEFT;
|
||||||
do_mark(cursheet, GET_MARK_CUR);
|
do_mark(cursheet, GET_MARK_CUR);
|
||||||
onecell = SAME_LOC(cursheet->mark1, cursheet->mark2);
|
onecell = SAME_LOC(cursheet->mark1, cursheet->mark2);
|
||||||
fcell = CELL_AT(cursheet, cursheet->mark1);
|
fcell = safe_cell_at(cursheet, cursheet->mark1);
|
||||||
if (action != ADJUST_LOCK && onecell && locked(fcell))
|
if (action != ADJUST_LOCK && onecell && locked(fcell))
|
||||||
{
|
{
|
||||||
line_msg(_("Cell attribute:"),_("Cell is locked"));
|
line_msg(_("Cell attribute:"),_("Cell is locked"));
|
||||||
|
@ -446,6 +446,7 @@ void forceupdate(Sheet *sheet)
|
|||||||
Cell *cell;
|
Cell *cell;
|
||||||
|
|
||||||
assert(sheet!=(Sheet*)0);
|
assert(sheet!=(Sheet*)0);
|
||||||
|
if (sheet->sheet == (Cell **)0) return;
|
||||||
for (ALL_CELLS_IN_SHEET(sheet,i,cell))
|
for (ALL_CELLS_IN_SHEET(sheet,i,cell))
|
||||||
if (cell != NULLCELL)
|
if (cell != NULLCELL)
|
||||||
cell->updated = cell->clock_t0 = cell->clock_t1 = cell->clock_t2 = 0;
|
cell->updated = cell->clock_t0 = cell->clock_t1 = cell->clock_t2 = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user