Fix a couple of typos
authorRicardo Mones <ricardo@mones.org>
Fri, 19 Feb 2016 18:21:50 +0000 (19:21 +0100)
committerRicardo Mones <ricardo@mones.org>
Fri, 19 Feb 2016 18:21:50 +0000 (19:21 +0100)
src/plugins/python/python_plugin.c

index b34e5899bc4de8fd2d9dddaef00eb3a2f3648a47..0b0d81399b277f5cfc5dfd2dcbd13cf137763c31 100644 (file)
@@ -634,7 +634,7 @@ done:
   Py_XDECREF(meth_getvalue);
   Py_XDECREF(result_getvalue);
 
   Py_XDECREF(meth_getvalue);
   Py_XDECREF(result_getvalue);
 
-  return retval ? retval : g_strdup("Unspecified error occured");
+  return retval ? retval : g_strdup("Unspecified error occurred");
 }
 
 static void log_func(const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data)
 }
 
 static void log_func(const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data)
@@ -667,7 +667,7 @@ gint plugin_init(gchar **error)
 
   /* The Python C API only offers to print an exception to sys.stderr. In order to catch it
    * in a string, a StringIO object is created, to which sys.stderr can be redirected in case
 
   /* The Python C API only offers to print an exception to sys.stderr. In order to catch it
    * in a string, a StringIO object is created, to which sys.stderr can be redirected in case
-   * an error occured. */
+   * an error occurred. */
   inst_StringIO = get_StringIO_instance();
 
   /* initialize Claws Mail Python module */
   inst_StringIO = get_StringIO_instance();
 
   /* initialize Claws Mail Python module */