Skip to content

Commit 5561a73

Browse files
committed
trim FEN string in EpdRecord::fen()
This makes it possible to EPD suites like this as opening suite: https://github.com/ChrisWhittington/Chess-EPDs/blob/master/bratko-kopec.epd
1 parent 24744e9 commit 5561a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/lib/src/epdrecord.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ bool EpdRecord::hasOpcode(const QString& opcode) const
161161

162162
QString EpdRecord::fen() const
163163
{
164-
return m_fen;
164+
return m_fen.trimmed();
165165
}
166166

167167
QStringList EpdRecord::operands(const QString& opcode) const

0 commit comments

Comments
 (0)