Skip to content

Commit

Permalink
windows/serialInterface: Chopped off an extra nul that was getting pu…
Browse files Browse the repository at this point in the history
…t on the end of the read registry string key
  • Loading branch information
dragonmux committed Oct 31, 2023
1 parent 596d728 commit ae9a9d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/windows/serialInterface.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ struct hklmRegistryKey_t
displayError(result, "retrieve value for key"sv, keyName);
return {};
}
value.resize(value.length() - 1U);
return value;
}
};
Expand Down

0 comments on commit ae9a9d1

Please sign in to comment.