Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

105 fix cppcheck issues #130

Merged
merged 15 commits into from
Sep 7, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#105: fixed cppcheck errors in ScnEditor project.
  • Loading branch information
mschweiger committed Sep 2, 2021
commit ed0fe343a96252f861cc7a64e40221487daed660
2 changes: 1 addition & 1 deletion Src/Plugin/ScnEditor/Editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2678,7 +2678,7 @@ void EditorTab_Propellant::Refresh ()
if (!hP) return;
m0 = vessel->GetPropellantMaxMass (hP);
m = vessel->GetPropellantMass (hP);
sprintf (cbuf, "%Mass (0-%0.2f kg)", m0);
sprintf (cbuf, "Mass (0-%0.2f kg)", m0);
SetWindowText (GetDlgItem (hTab, IDC_STATIC2), cbuf);
sprintf (cbuf, "%0.4f", m/m0);
SetWindowText (GetDlgItem (hTab, IDC_EDIT2), cbuf);
Expand Down