Mercurial > hg > forks > geeqie
changeset 2700:2ef77ac34085
Fix #574: Spelling errors detected by Lintian
https://github.com/BestImageViewer/geeqie/pull/574
author | Andreas Rönnquist <> |
---|---|
date | Thu, 04 Jan 2018 17:06:16 +0000 |
parents | 4a8a114c1c5a |
children | 3f5967ca0a37 |
files | src/print.c src/remote.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/print.c Thu Jan 04 16:30:39 2018 +0000 +++ b/src/print.c Thu Jan 04 17:06:16 2018 +0000 @@ -1975,7 +1975,7 @@ parent, TRUE, NULL, NULL); generic_dialog_add_button(gd, GTK_STOCK_OK, NULL, NULL, TRUE); - buf = g_strdup_printf(_("An error occured printing to %s."), print_output_name(pw->output)); + buf = g_strdup_printf(_("An error occurred printing to %s."), print_output_name(pw->output)); generic_dialog_add_message(gd, GTK_STOCK_DIALOG_ERROR, _("Printing error"), buf, TRUE); g_free(buf);
--- a/src/remote.c Thu Jan 04 16:30:39 2018 +0000 +++ b/src/remote.c Thu Jan 04 17:06:16 2018 +0000 @@ -279,11 +279,11 @@ return rc; } -static sig_atomic_t sigpipe_occured = FALSE; +static sig_atomic_t sigpipe_occurred = FALSE; static void sighandler_sigpipe(gint sig) { - sigpipe_occured = TRUE; + sigpipe_occurred = TRUE; } static gboolean remote_client_send(RemoteConnection *rc, const gchar *text) @@ -296,7 +296,7 @@ if (!rc || rc->server) return FALSE; if (!text) return TRUE; - sigpipe_occured = FALSE; + sigpipe_occurred = FALSE; new_action.sa_handler = sighandler_sigpipe; sigemptyset(&new_action.sa_mask);