bugfix: slave files smaller than master files caused a segfault.
authorkramm <kramm>
Sat, 16 Feb 2002 17:46:11 +0000 (17:46 +0000)
committerkramm <kramm>
Sat, 16 Feb 2002 17:46:11 +0000 (17:46 +0000)
src/combine.c

index 4847a58..34ea6b5 100644 (file)
@@ -84,7 +84,7 @@ void jpeg_assert()
        pos++;
     }
     pos = 0;
-    while(master.tags[pos].id != 0)
+    while(slave.tags[pos].id != 0)
     {
        if(slave.tags[pos].id == TAGID_JPEGTABLES)
            spos = pos;