Index: /trunk/Ohana/src/addstar/src/find_matches_closest.c
===================================================================
--- /trunk/Ohana/src/addstar/src/find_matches_closest.c	(revision 5380)
+++ /trunk/Ohana/src/addstar/src/find_matches_closest.c	(revision 5381)
@@ -18,5 +18,6 @@
   gettimeofday (&start, NULL);
 
-  code = GetPhotcodebyCode (options.photcode);
+  /* XXX EAM : options.photcode overridden by image.source.... */
+  code = GetPhotcodebyCode (image[0].source);
 
   /* photcode data - must by of type DEP, (PRI, SEC) - probably should restrict to DEP */
