Fix some typos

This commit is contained in:
Richard Cohen
2023-01-23 15:01:46 +00:00
parent d1b84fae9f
commit 19bbde7000
12 changed files with 14 additions and 14 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -76,7 +76,7 @@ public:
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;

View File

@@ -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

View File

@@ -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

View File

@@ -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.