Skip to content

Commit

Permalink
Minor corrections in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gjanssens committed Feb 4, 2023
1 parent ea95580 commit 51706f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1732,8 +1732,6 @@ void CsvImpTransAssist::preview_validate_settings ()

/* Populates the account match view with all potential
* account names found in the parse data.
*
* @param info The data being previewed
*/
void CsvImpTransAssist::acct_match_set_accounts ()
{
Expand Down Expand Up @@ -1963,7 +1961,7 @@ CsvImpTransAssist::assist_account_match_page_prepare ()
// Load the account strings into the store
acct_match_set_accounts ();

// Match the account strings to the mappings
// Match the account strings to account maps from previous imports
auto store = gtk_tree_view_get_model (GTK_TREE_VIEW(account_match_view));
gnc_csv_account_map_load_mappings (store);

Expand Down
2 changes: 1 addition & 1 deletion gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ GncNumeric parse_amount (const std::string &str, int currency_format)
if (str.empty())
return GncNumeric{};

/* Strings otherwise containing not digits will be considered invalid */
/* Strings otherwise containing no digits will be considered invalid */
if(!boost::regex_search(str, boost::regex("[0-9]")))
throw std::invalid_argument (_("Value doesn't appear to contain a valid number."));

Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/Account.h
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ typedef enum
*/
/** The gnc_account_lookup_by_name() subroutine fetches the account by
* name from the descendants of the specified account. The immediate
* children are searched first. If there is no match,, then a
* children are searched first. If there is no match, then a
* recursive search of all descendants is performed looking for a
* match.
*
Expand Down

0 comments on commit 51706f2

Please sign in to comment.