diff --git a/CMakeLists.txt b/CMakeLists.txt index 26e700bcd8c..8a4bacf3f4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -617,7 +617,7 @@ if (XCODE_VERSION) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE ${LIBDIR_BUILD}/gnucash) endif() -# For binarines +# For binaries set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) if (XCODE_VERSION) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/bin) diff --git a/gnucash/gnome-utils/dialog-totd.c b/gnucash/gnome-utils/dialog-totd.c index 48d10fd1e26..01e16f23764 100644 --- a/gnucash/gnome-utils/dialog-totd.c +++ b/gnucash/gnome-utils/dialog-totd.c @@ -103,7 +103,7 @@ gnc_new_tip_number (TotdDialog *totd_dialog, gint offset) */ if (tip_list[current_tip_number]) tip_components = g_strsplit(tip_list[current_tip_number], "|", 0); - /* If the tip is empty, g_strisplit will return an empty list. This + /* If the tip is empty, g_strsplit will return an empty list. This * shouldn't normally happen, but make sure we don't crash just in * case */ if (tip_components == NULL) diff --git a/gnucash/gnome-utils/gnc-date-edit.c b/gnucash/gnome-utils/gnc-date-edit.c index d0d7ba8e983..fde3aa5eeab 100644 --- a/gnucash/gnome-utils/gnc-date-edit.c +++ b/gnucash/gnome-utils/gnc-date-edit.c @@ -1057,7 +1057,7 @@ gnc_date_edit_get_date_internal (GNCDateEdit *gde) if (!date_was_valid) { - /* Hm... no valid date. What should we do not? As a hacky workaround we + /* Hm... no valid date. What should we do now? As a hacky workaround we revert to today's date. Alternatively we can return some value that signals that we don't get a valid date, but all callers of this function will have to check this. Alas, I'm too lazy to do this here. */ diff --git a/gnucash/gnome-utils/gnc-main-window.c b/gnucash/gnome-utils/gnc-main-window.c index 2ffbac0522e..51890edfde8 100644 --- a/gnucash/gnome-utils/gnc-main-window.c +++ b/gnucash/gnome-utils/gnc-main-window.c @@ -1444,7 +1444,7 @@ gnc_main_window_quit(GncMainWindow *window) GList *w, *next; /* This is not a typical list iteration. There is a possibility - * that the window maybe removed from the active_windows list so + * that the window may be removed from the active_windows list so * we have to cache the 'next' pointer before executing any code * in the loop. */ for (w = active_windows; w; w = next) diff --git a/gnucash/gnucash.cpp b/gnucash/gnucash.cpp index d32c21018ad..ba5116fc03e 100644 --- a/gnucash/gnucash.cpp +++ b/gnucash/gnucash.cpp @@ -322,7 +322,7 @@ Gnucash::Gnucash::start ([[maybe_unused]] int argc, [[maybe_unused]] char **argv } /* Now the module files are looked up, which might cause some library - initialization to be run, hence gtk must be initialized b*eforehand. */ + initialization to be run, hence gtk must be initialized beforehand. */ gnc_module_system_init(); gnc_gui_init(); diff --git a/gnucash/import-export/qif-imp/assistant-qif-import.c b/gnucash/import-export/qif-imp/assistant-qif-import.c index fb1347fd074..9231ef308b8 100644 --- a/gnucash/import-export/qif-imp/assistant-qif-import.c +++ b/gnucash/import-export/qif-imp/assistant-qif-import.c @@ -2119,7 +2119,7 @@ gnc_ui_qif_import_account_prepare (GtkAssistant *assistant, gpointer user_data) if (wind->ask_date_format && wind->date_format) qif_import_reparse_dates (wind); - /* make sure there is a file selected, may of come back */ + /* make sure there is a file selected, may have come back */ if (wind->selected_file == SCM_BOOL_F) { GtkAssistant *assistant = GTK_ASSISTANT(wind->window); diff --git a/libgnucash/app-utils/QuickFill.h b/libgnucash/app-utils/QuickFill.h index 4fd125319f9..ba85097c6fd 100644 --- a/libgnucash/app-utils/QuickFill.h +++ b/libgnucash/app-utils/QuickFill.h @@ -71,7 +71,7 @@ void gnc_quickfill_purge (QuickFill *qf); */ const char * gnc_quickfill_string (QuickFill *qf); -/** Return the subnode of the tree whose strings all hold 'wc' as +/** Return the subnode of the tree whose strings all hold 'c' as * the next letter. That is, if 'qf' holds all strings starting * with the letter 'a', and we ask for the letter 'b', then this * routine will return the node holding all strings that start diff --git a/libgnucash/backend/dbi/gnc-dbisqlconnection.cpp b/libgnucash/backend/dbi/gnc-dbisqlconnection.cpp index 3eaf4d9bc2b..aabacc31331 100644 --- a/libgnucash/backend/dbi/gnc-dbisqlconnection.cpp +++ b/libgnucash/backend/dbi/gnc-dbisqlconnection.cpp @@ -556,7 +556,7 @@ GncDbiSqlConnection::quote_string (const std::string& unquoted_str) /** Check if the dbi connection is valid. If not attempt to re-establish it - * Returns TRUE is there is a valid connection in the end or FALSE otherwise + * Returns TRUE if there is a valid connection in the end or FALSE otherwise */ bool GncDbiSqlConnection::verify () noexcept diff --git a/libgnucash/backend/dbi/gnc-dbisqlconnection.hpp b/libgnucash/backend/dbi/gnc-dbisqlconnection.hpp index 7865bd216ef..a87137836ed 100644 --- a/libgnucash/backend/dbi/gnc-dbisqlconnection.hpp +++ b/libgnucash/backend/dbi/gnc-dbisqlconnection.hpp @@ -76,7 +76,7 @@ class GncDbiSqlConnection : public GncSqlConnection set_error(ERR_BACKEND_NO_ERR, 0, false); } /** Check if the dbi connection is valid. If not attempt to re-establish it - * Returns TRUE is there is a valid connection in the end or FALSE otherwise + * Returns TRUE if there is a valid connection in the end or FALSE otherwise */ bool verify() noexcept override; bool retry_connection(const char* msg) noexcept override; diff --git a/libgnucash/engine/qoflog.cpp b/libgnucash/engine/qoflog.cpp index 993d9c208d2..58a78f4ccfc 100644 --- a/libgnucash/engine/qoflog.cpp +++ b/libgnucash/engine/qoflog.cpp @@ -237,7 +237,7 @@ qof_log_init_filename(const gchar* log_filename) g_assert(g_strcmp0(log_filename, "/dev/null") != 0); /* Windows prevents renaming of open files, so the next command silently fails there - * No problem, the filename on Winows will simply have the random characters */ + * No problem, the filename on Windows will simply have the random characters */ g_rename(fname, log_filename); fout = fdopen(fd, "w"); #endif diff --git a/libgnucash/engine/test/test-gnc-guid.cpp b/libgnucash/engine/test/test-gnc-guid.cpp index 65c9f341b0e..10137f42efc 100644 --- a/libgnucash/engine/test/test-gnc-guid.cpp +++ b/libgnucash/engine/test/test-gnc-guid.cpp @@ -82,7 +82,7 @@ TEST (GncGUID, from_string) fail = true; } /* Currently, boost uuid string parsing is mostly very permissive, but it has some - * odd pet peves. See https://svn.boost.org/trac/boost/ticket/12253 for more.*/ + * odd pet peeves. See https://svn.boost.org/trac/boost/ticket/12253 for more.*/ if (BOOST_VERSION >= 106600) EXPECT_TRUE (fail) << "Parsing the bogus string should throw"; else diff --git a/libgnucash/gnc-module/gnc-module.c b/libgnucash/gnc-module/gnc-module.c index 11465757ed6..f6ffcdf7d08 100644 --- a/libgnucash/gnc-module/gnc-module.c +++ b/libgnucash/gnc-module/gnc-module.c @@ -228,9 +228,9 @@ gnc_module_system_refresh(void) /* Gotcha: On MacOS, G_MODULE_SUFFIX is defined as "so", * but if we do not build clean libtool modules with - * "-module", we get dynamic libraries ending on .dylib On - * Windows, all modules will move to bin/, so they will be - * mixed with other libraries, such as gtk+. Adding a + * "-module", we get dynamic libraries ending in .dylib + * On Windows, all modules will move to bin/, so they will + * be mixed with other libraries, such as gtk+. Adding a * prefix "libgncmod" filter will prevent the module loader * from loading other libraries. The filter should work on * other platforms.