Index: trunk/psModules/src/astrom/pmAstrometryWCS.c
===================================================================
--- trunk/psModules/src/astrom/pmAstrometryWCS.c	(revision 40083)
+++ trunk/psModules/src/astrom/pmAstrometryWCS.c	(revision 40532)
@@ -231,5 +231,5 @@
     // the value of NPLYTERM.
     type = psProjectTypeFromString (ctype);
-    if (type == PS_PROJ_NTYPE) {
+    if (type == PS_PROJ_NONE) {
         psLogMsg ("psastro", 2, "warning: unknown projection type %s\n", ctype);
         return NULL;
