changeset 2709:88b48668094b

Fix spelling mistake occured/occurred
author Andreas Rönnquist <andreas@ronnquist.net>
date Thu, 04 Jan 2018 14:28:10 +0100
parents 8ba86a100c53
children 70457fceb02c
files src/print.c src/remote.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Mon Jan 01 13:40:30 2018 +0100
+++ b/src/print.c	Thu Jan 04 14:28:10 2018 +0100
@@ -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	Mon Jan 01 13:40:30 2018 +0100
+++ b/src/remote.c	Thu Jan 04 14:28:10 2018 +0100
@@ -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);