mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix some typos
This commit is contained in:
parent
d1b84fae9f
commit
19bbde7000
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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. */
|
||||
|
@ -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)
|
||||
|
@ -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();
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user