Skip to content

Commit

Permalink
converter: Don't forget to trim native name of a constellation
Browse files Browse the repository at this point in the history
  • Loading branch information
10110111 committed Jan 31, 2025
1 parent fc2605b commit f171618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/skyculture-converter/ConstellationOldLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ void ConstellationOldLoader::loadNames(const QString& skyCultureDir)
// If the constellation exists, set the English name
if (aster)
{
aster->nativeName = recMatch.captured(2);
aster->nativeName = recMatch.captured(2).trimmed();
QString ctxt = recMatch.captured(3);
QRegularExpressionMatch ctxMatch=ctxRx.match(ctxt);
if (ctxMatch.hasMatch())
Expand Down

0 comments on commit f171618

Please sign in to comment.