summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2019-01-22 11:56:53 +0000
committerMattia Rizzolo <mattia@mapreri.org>2019-01-22 12:13:07 +0000
commit8ff49b25854acc310f97f83309c6122ba5ff1b7f (patch)
tree4faefd5fb85d57adfe4c6e6e8e1083261884ba38 /src/3rdparty
parentMove main menu bar from desktop-widget to inkscape-window. (diff)
downloadinkscape-8ff49b25854acc310f97f83309c6122ba5ff1b7f.tar.gz
inkscape-8ff49b25854acc310f97f83309c6122ba5ff1b7f.zip
Fix some typos and syntax errors
Some of the typos fixes are in libcroco code. They are already fixed in upstream's git (https://bugzilla.gnome.org/show_bug.cgi?id=776798). Also fix a bunch of "allow to" (with the missing object). Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/libcroco/cr-input.c6
-rw-r--r--src/3rdparty/libcroco/cr-prop-list.c2
-rw-r--r--src/3rdparty/libcroco/cr-sel-eng.c2
-rw-r--r--src/3rdparty/libcroco/cr-statement.c12
-rw-r--r--src/3rdparty/libcroco/cr-style.c2
-rw-r--r--src/3rdparty/libcroco/cr-tknzr.c2
6 files changed, 13 insertions, 13 deletions
diff --git a/src/3rdparty/libcroco/cr-input.c b/src/3rdparty/libcroco/cr-input.c
index 732068aff..49000b1f5 100644
--- a/src/3rdparty/libcroco/cr-input.c
+++ b/src/3rdparty/libcroco/cr-input.c
@@ -231,8 +231,8 @@ cr_input_new_from_uri (const gchar * a_file_uri, enum CREncoding a_enc)
/*we reached eof */
loop = FALSE;
} else {
- /*a pb occured !! */
- cr_utils_trace_debug ("an io error occured");
+ /*a pb occurred !! */
+ cr_utils_trace_debug ("an io error occurred");
status = CR_ERROR;
goto cleanup;
}
@@ -874,7 +874,7 @@ cr_input_peek_byte2 (CRInput const * a_this, gulong a_offset, gboolean * a_eof)
*Gets the memory address of the byte located at a given offset
*in the input stream.
*
- *Returns the address, otherwise NULL if an error occured.
+ *Returns the address, otherwise NULL if an error occurred.
*/
guchar *
cr_input_get_byte_addr (CRInput * a_this, gulong a_offset)
diff --git a/src/3rdparty/libcroco/cr-prop-list.c b/src/3rdparty/libcroco/cr-prop-list.c
index dc575d6ff..5a61133f1 100644
--- a/src/3rdparty/libcroco/cr-prop-list.c
+++ b/src/3rdparty/libcroco/cr-prop-list.c
@@ -71,7 +71,7 @@ cr_prop_list_allocate (void)
*Appends a property list to the current one.
*
*Returns the resulting prop list, or NULL if an error
- *occured
+ *occurred
*/
CRPropList *
cr_prop_list_append (CRPropList * a_this, CRPropList * a_to_append)
diff --git a/src/3rdparty/libcroco/cr-sel-eng.c b/src/3rdparty/libcroco/cr-sel-eng.c
index 9e35ad93f..0c1de39b6 100644
--- a/src/3rdparty/libcroco/cr-sel-eng.c
+++ b/src/3rdparty/libcroco/cr-sel-eng.c
@@ -1446,7 +1446,7 @@ sel_matches_node_real (CRSelEng * a_this, CRSimpleSel * a_sel,
*case, *a_len is set to the actual number of ruleset found.
*@return CR_BAD_PARAM_ERROR in case any of the given parameter are
*bad (e.g null pointer).
- *@return CR_ERROR if any other error occured.
+ *@return CR_ERROR if any other error occurred.
*/
static enum CRStatus
cr_sel_eng_get_matched_rulesets_real (CRSelEng * a_this,
diff --git a/src/3rdparty/libcroco/cr-statement.c b/src/3rdparty/libcroco/cr-statement.c
index e31123aec..d064cd824 100644
--- a/src/3rdparty/libcroco/cr-statement.c
+++ b/src/3rdparty/libcroco/cr-statement.c
@@ -1210,14 +1210,14 @@ cr_statement_at_media_rule_parse_from_buf (const guchar * a_buf,
parser = cr_parser_new_from_buf ((guchar*)a_buf, strlen ((const char *) a_buf),
a_enc, FALSE);
if (!parser) {
- cr_utils_trace_info ("Instanciation of the parser failed");
+ cr_utils_trace_info ("Instantiation of the parser failed");
goto cleanup;
}
sac_handler = cr_doc_handler_new ();
if (!sac_handler) {
cr_utils_trace_info
- ("Instanciation of the sac handler failed");
+ ("Instantiation of the sac handler failed");
goto cleanup;
}
@@ -1396,7 +1396,7 @@ cr_statement_at_import_rule_parse_from_buf (const guchar * a_buf,
parser = cr_parser_new_from_buf ((guchar*)a_buf, strlen ((const char *) a_buf),
a_encoding, FALSE);
if (!parser) {
- cr_utils_trace_info ("Instanciation of parser failed.");
+ cr_utils_trace_info ("Instantiation of parser failed.");
goto cleanup;
}
@@ -1523,14 +1523,14 @@ cr_statement_at_page_rule_parse_from_buf (const guchar * a_buf,
parser = cr_parser_new_from_buf ((guchar*)a_buf, strlen ((const char *) a_buf),
a_encoding, FALSE);
if (!parser) {
- cr_utils_trace_info ("Instanciation of the parser failed.");
+ cr_utils_trace_info ("Instantiation of the parser failed.");
goto cleanup;
}
sac_handler = cr_doc_handler_new ();
if (!sac_handler) {
cr_utils_trace_info
- ("Instanciation of the sac handler failed.");
+ ("Instantiation of the sac handler failed.");
goto cleanup;
}
@@ -1639,7 +1639,7 @@ cr_statement_at_charset_rule_parse_from_buf (const guchar * a_buf,
parser = cr_parser_new_from_buf ((guchar*)a_buf, strlen ((const char *) a_buf),
a_encoding, FALSE);
if (!parser) {
- cr_utils_trace_info ("Instanciation of the parser failed.");
+ cr_utils_trace_info ("Instantiation of the parser failed.");
goto cleanup;
}
diff --git a/src/3rdparty/libcroco/cr-style.c b/src/3rdparty/libcroco/cr-style.c
index 2b865c248..ebc669c43 100644
--- a/src/3rdparty/libcroco/cr-style.c
+++ b/src/3rdparty/libcroco/cr-style.c
@@ -1528,7 +1528,7 @@ set_prop_font_size_from_value (CRStyle * a_style, CRTerm * a_value)
a_style->font_size.sv.type = INHERITED_FONT_SIZE;
} else {
- cr_utils_trace_info ("Unknow value of font-size") ;
+ cr_utils_trace_info ("Unknown value of font-size") ;
status = init_style_font_size_field (a_style);
return CR_UNKNOWN_PROP_VAL_ERROR;
}
diff --git a/src/3rdparty/libcroco/cr-tknzr.c b/src/3rdparty/libcroco/cr-tknzr.c
index 83f6ab3c0..10c81765b 100644
--- a/src/3rdparty/libcroco/cr-tknzr.c
+++ b/src/3rdparty/libcroco/cr-tknzr.c
@@ -524,7 +524,7 @@ cr_tknzr_parse_comment (CRTknzr * a_this,
*Error code can be either CR_PARSING_ERROR if the string
*parsed just doesn't
*respect the production or another error if a
- *lower level error occured.
+ *lower level error occurred.
*/
static enum CRStatus
cr_tknzr_parse_unicode_escape (CRTknzr * a_this,