Skip to content

Commit

Permalink
Fix type by using auto
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lowndes authored and David Lowndes committed Jan 1, 2024
1 parent 7f46b5e commit b6ffa5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UTF8Conv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ BOOL CUTF8ConvApp::InitInstance()
{
CUTF8ConvDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
const auto nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
Expand Down

0 comments on commit b6ffa5e

Please sign in to comment.