Skip to content

Commit

Permalink
Small cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerhard Stein committed May 9, 2024
1 parent 8723054 commit 3019e88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/filtertransdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ bool mmFilterTransactionsDialog::mmIsTagMatches(const wxString& refType, int ref
bool match = true;

wxArrayString tags = tagTextCtrl_->GetTagStrings();
for (int i = 0; i < tags.GetCount(); i++)
for (int i = 0; i < static_cast<int>(tags.GetCount()); i++)
{
wxString tag = tags.Item(i);
// if the tag is the "OR" operator, fetch the next tag and compare with OR
Expand Down
4 changes: 2 additions & 2 deletions src/mmex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ static const wxCmdLineEntryDesc g_cmdLineDesc[] = {
"where <str> is a path to mmexini.db3"
"\n\nTo open a determined database(.mmb) file from a shortcut or command line, set the path to the database file as a parameter."
"\n\nThe file with the application settings mmexini.db3 can be used separately."
" Otherwise, it is taken from the home directory or the root folder of the application." },
" Otherwise, it is taken from the home directory or the root folder of the application.", wxCMD_LINE_VAL_STRING, 0 },
{ wxCMD_LINE_PARAM, nullptr, nullptr, wxT_2("database file"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL },
{ wxCMD_LINE_NONE }
{ wxCMD_LINE_NONE, nullptr, nullptr, nullptr, wxCMD_LINE_VAL_NONE, 0 }
};

//----------------------------------------------------------------------------
Expand Down

0 comments on commit 3019e88

Please sign in to comment.