summaryrefslogtreecommitdiffstats
path: root/graphics/dia/patches/0006-Bug-676830-Misc-Grid-don-t-crash-on-copy-resize.patch
diff options
context:
space:
mode:
author Philip Lacroix2015-09-19 14:44:25 +0200
committer Willy Sudiarto Raharjo2015-09-19 14:44:25 +0200
commita5ef237349ea8ac445a898ae72ef48079632c2e2 (patch)
tree8557f3abfd4ac9add242288da997e517143964a9 /graphics/dia/patches/0006-Bug-676830-Misc-Grid-don-t-crash-on-copy-resize.patch
parente52bc22392ac81d21bb96e0cdb4334b9f8274dea (diff)
downloadslackbuilds-a5ef237349ea8ac445a898ae72ef48079632c2e2.tar.gz
graphics/dia: Updated for version 0.97.3 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/dia/patches/0006-Bug-676830-Misc-Grid-don-t-crash-on-copy-resize.patch')
-rw-r--r--graphics/dia/patches/0006-Bug-676830-Misc-Grid-don-t-crash-on-copy-resize.patch26
1 files changed, 0 insertions, 26 deletions
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 <hans@breuer.org>
-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
-