From a5ef237349ea8ac445a898ae72ef48079632c2e2 Mon Sep 17 00:00:00 2001 From: Philip Lacroix Date: Sat, 19 Sep 2015 19:44:25 +0700 Subject: graphics/dia: Updated for version 0.97.3 + new maintainer. Signed-off-by: Willy Sudiarto Raharjo --- ...6830-Misc-Grid-don-t-crash-on-copy-resize.patch | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 graphics/dia/patches/0006-Bug-676830-Misc-Grid-don-t-crash-on-copy-resize.patch (limited to 'graphics/dia/patches/0006-Bug-676830-Misc-Grid-don-t-crash-on-copy-resize.patch') diff --git a/graphics/dia/patches/0006-Bug-676830-Misc-Grid-don-t-crash-on-copy-resize.patch b/graphics/dia/patches/0006-Bug-676830-Misc-Grid-don-t-crash-on-copy-resize.patch deleted file mode 100644 index 482c8a7b59..0000000000 --- a/graphics/dia/patches/0006-Bug-676830-Misc-Grid-don-t-crash-on-copy-resize.patch +++ /dev/null @@ -1,26 +0,0 @@ -From b9b279e8bd77e0fb27176d64baa75563054ac5e1 Mon Sep 17 00:00:00 2001 -From: Hans Breuer -Date: Sat, 23 Jun 2012 15:21:58 +0200 -Subject: [PATCH 06/24] Bug 676830 : Misc - Grid : don't crash on copy, resize - -Row index was iterated with the columns range. ---- - objects/Misc/grid_object.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/objects/Misc/grid_object.c b/objects/Misc/grid_object.c -index bf6537a..05d1b16 100644 ---- a/objects/Misc/grid_object.c -+++ b/objects/Misc/grid_object.c -@@ -479,7 +479,7 @@ grid_object_reallocate_cells (Grid_Object* grid_object) - - /* implicit: if (new_cols < old_cols) */ - for (i = new_cols; i < old_cols; ++i) -- for (j = 0; j < old_cols && j < new_cols; ++j) /* don't double-delete */ -+ for (j = 0; j < old_rows && j < new_rows; ++j) /* don't double-delete */ - { - int cell = grid_cell(i, j, old_rows, old_cols); - object_remove_connections_to(&grid_object->cells[cell]); --- -1.8.4.4 - -- cgit v1.2.3