gnumeric r16289 - in trunk: . src
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r16289 - in trunk: . src
- Date: Thu, 24 Jan 2008 19:52:00 +0000 (GMT)
Author: mortenw
Date: Thu Jan 24 19:52:00 2008
New Revision: 16289
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16289&view=rev
Log:
2008-01-24 Morten Welinder <terra gnome org>
* src/sheet.c (sheet_move_range): Fix sanity check. [#511706]
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/src/sheet.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Thu Jan 24 19:52:00 2008
@@ -7,6 +7,7 @@
* Fix insert-current-date locale problem. [#508237]
* Fix xls read crash. [#505330]
* Plug csv leak.
+ * Fix inter-sheet cut problem. [#511706]
--------------------------------------------------------------------------
Gnumeric 1.8.0
Modified: trunk/src/sheet.c
==============================================================================
--- trunk/src/sheet.c (original)
+++ trunk/src/sheet.c Thu Jan 24 19:52:00 2008
@@ -4294,7 +4294,9 @@
g_return_if_fail (rinfo != NULL);
g_return_if_fail (IS_SHEET (rinfo->origin_sheet));
g_return_if_fail (IS_SHEET (rinfo->target_sheet));
- g_return_if_fail (rinfo->col_offset != 0 || rinfo->row_offset != 0);
+ g_return_if_fail (rinfo->origin_sheet != rinfo->target_sheet ||
+ rinfo->col_offset != 0 ||
+ rinfo->row_offset != 0);
dst = rinfo->origin;
out_of_range = range_translate (&dst,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]