[Commits] [SCM] claws branch, master, updated. 3.14.1-162-gce16e26

wwp at claws-mail.org wwp at claws-mail.org
Tue Jan 24 07:42:26 CET 2017


The branch, master has been updated
       via  ce16e266f536ca4ad3391a2885ea9bd972bcb556 (commit)
      from  9c26d835ef841712269eb45d65cb2834622381f1 (commit)

Summary of changes:
 src/mainwindow.c |    2 +-
 src/mimeview.c   |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit ce16e266f536ca4ad3391a2885ea9bd972bcb556
Author: wwp <wwp at free.fr>
Date:   Tue Jan 24 07:41:39 2017 +0100

    Fix typos and a wrong switch expression (coverity CID #1399549).

diff --git a/src/mainwindow.c b/src/mainwindow.c
index 5f3a64b..08641dc 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -4709,7 +4709,7 @@ void mainwindow_delete_duplicated(MainWindow *mainwin)
 		STATUSBAR_POP(mainwin);
 		main_window_cursor_normal(mainwin);
 
-		switch (result > 0) {
+		switch (result) {
 		case -1:
 			break;
 		case 0:
diff --git a/src/mimeview.c b/src/mimeview.c
index 71447b3..62ea864 100644
--- a/src/mimeview.c
+++ b/src/mimeview.c
@@ -1861,7 +1861,7 @@ static gboolean mimeview_write_part(const gchar *filename,
 static AlertValue mimeview_save_all_error_ask(gint n)
 {
 	gchar *message = g_strdup_printf(
-		_("An error has ocurred while saving attachment #%d. "
+		_("An error has occurred while saving attachment #%d. "
 		"Do you want to cancel operation or skip error and "
 		"continue?"), n);
 	AlertValue av = alertpanel_full(_("Error saving all attachments"),
@@ -1883,8 +1883,8 @@ static void mimeview_save_all_info(gint errors, gint total)
 		g_free(msg);
 	} else {
 		gchar *msg1 = g_strdup_printf(
-				ngettext("%d attachment saved succesfully",
-					"%d attachments saved succesfully",
+				ngettext("%d attachment saved successfully",
+					"%d attachments saved successfully",
 					total - errors),
 				total - errors);
 		gchar *msg2 = g_strdup_printf(

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list