Skip to content

Commit

Permalink
Constify string
Browse files Browse the repository at this point in the history
  • Loading branch information
daleghent committed Oct 31, 2024
1 parent 45f159f commit d7d297f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cam_qhy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ QHYCameraDlg::QHYCameraDlg() : wxDialog(wxGetApp().GetTopWindow(), wxID_ANY, _("
m_bpp8 = new wxRadioButton(this, wxID_ANY, _("8-bit"));
m_bpp16 = new wxRadioButton(this, wxID_ANY, _("16-bit"));

char *modeHint = "Camera must be reconnected after changing the mode";
const char *modeHint = "Camera must be reconnected after changing the mode";
m_bpp8->SetToolTip(modeHint);
m_bpp16->SetToolTip(modeHint);

Expand Down

0 comments on commit d7d297f

Please sign in to comment.