Skip to content

Commit

Permalink
Per #2279, fix small bug ci-run-unit
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway committed Oct 11, 2024
1 parent eabaaaf commit 5723b18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basic/vx_config/config_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ void MaskSID::add(const string &text) {

// Check for optional weight
StringArray sa(sid.split("("));
if(sa.n() > 0) {
if(sa.n() > 1) {
sid = sa[0];
wgt = stod(sa[1]);
}
Expand Down

0 comments on commit 5723b18

Please sign in to comment.