Index: core/src/document_format/ClustalWAlnFormat.cpp =================================================================== --- core/src/document_format/ClustalWAlnFormat.cpp (revision 1988) +++ core/src/document_format/ClustalWAlnFormat.cpp (working copy) @@ -15,7 +15,7 @@ /* TRANSLATOR GB2::ClustalWAlnFormat */ /* TRANSLATOR GB2::IOAdapter */ -const QByteArray ClustalWAlnFormat::CLUSTAL_HEADER = "CLUSTAL W"; +const QByteArray ClustalWAlnFormat::CLUSTAL_HEADER = "CLUSTAL "; ClustalWAlnFormat::ClustalWAlnFormat(QObject* p) : DocumentFormat(p) { @@ -329,7 +329,7 @@ return false; } QByteArray str(data, size); - if (!str.startsWith("CLUSTAL W")) { + if (!str.startsWith(CLUSTAL_HEADER)) { return false; } QTextStream s(str);