aboutsummaryrefslogtreecommitdiff
path: root/graphics/reallyslick/files/patch-other_src_matrixview.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/reallyslick/files/patch-other_src_matrixview.c')
-rw-r--r--graphics/reallyslick/files/patch-other_src_matrixview.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/reallyslick/files/patch-other_src_matrixview.c b/graphics/reallyslick/files/patch-other_src_matrixview.c
new file mode 100644
index 000000000000..a5c9028cb29e
--- /dev/null
+++ b/graphics/reallyslick/files/patch-other_src_matrixview.c
@@ -0,0 +1,20 @@
+--- other_src/matrixview.c.orig Sun Feb 26 08:55:26 2006
++++ other_src/matrixview.c Fri Apr 28 09:33:18 2006
+@@ -94,13 +94,15 @@
+
+ // Directory scanning + image loading code in a separate function callable either from loadNextImage or another thread if pthreads is available.
+ void loadNextImageFromDisk() {
+- MagickWand *magick_wand = NewMagickWand();
++ MagickWand *magick_wand;
+ ExceptionInfo exception;
+ int dirLoop = 0;
++ int imageLoaded = 0;
++
++ magick_wand = NewMagickWand();
+
+ GetExceptionInfo (&exception);
+
+- int imageLoaded = 0;
+ do {
+ struct dirent *file;
+