2632e04e8a
Reported by: Kris
20 lines
578 B
C
20 lines
578 B
C
--- 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;
|
|
|