From 34d917af6b7723f06cdb5cf54eb591a244e0f819 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Wed, 18 Aug 1999 21:36:06 +0000 Subject: [PATCH] Remove debugging message --- src/expr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/expr.c b/src/expr.c index fba559232..a8d2fc9a1 100644 --- a/src/expr.c +++ b/src/expr.c @@ -1907,8 +1907,7 @@ cellref_relocate (CellRef const * const ref, if (ref->col_relative) { int const tmp = pos->eval_col + ref->col + col_offset; - printf ("res = %d\npos->eval_col = %d\nref->col = %d\ncol_offset = %d\n", - tmp, pos->eval_col, ref->col, col_offset); + if (tmp < 0 || SHEET_MAX_COLS <= tmp) return CELLREF_RELOCATE_ERR; -- GitLab