Clarify confusing RString comparison

This was actually a nullptr that got converted to an empty string
because of RString-specific code.
This commit is contained in:
Arthur Eubanks
2025-04-23 20:35:10 -07:00
committed by teejusb
parent 0ba8230b7e
commit 7e3ce11658
+1 -1
View File
@@ -888,7 +888,7 @@ void SMLoader::ProcessSpeeds( TimingData &out, const RString line, const int row
std::vector<RString> vs2;
split( s1, "=", vs2 );
if( vs2[0] == 0 && vs2.size() == 2 ) // First one always seems to have 2.
if( vs2[0].empty() && vs2.size() == 2 ) // First one always seems to have 2.
{
vs2.push_back("0");
}