Index: wp/impexp/pdf/xp/ie_imp_PDF.cpp =================================================================== RCS file: /cvsroot/abiword-plugins/wp/impexp/pdf/xp/ie_imp_PDF.cpp,v retrieving revision 1.1 diff -u -5 -r1.1 ie_imp_PDF.cpp --- wp/impexp/pdf/xp/ie_imp_PDF.cpp 17 Mar 2005 05:11:53 -0000 1.1 +++ wp/impexp/pdf/xp/ie_imp_PDF.cpp 28 Jun 2005 17:57:00 -0000 @@ -119,11 +119,11 @@ } virtual UT_Confidence_t recognizeContents (const char * szBuf, UT_uint32 iNumbytes) { - if (strncmp (szBuf, "%PDF-", 6)) + if (!strncmp (szBuf, "%PDF-", 5)) return UT_CONFIDENCE_PERFECT; return UT_CONFIDENCE_ZILCH; } const char * recognizeContentsType (const char * szBuf,