summaryrefslogtreecommitdiff
path: root/gtk/compose-parse.py
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-03-10 22:46:02 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-03-10 22:46:02 -0500
commit804d330195f4e3a777b64a49d70059af2742f1c0 (patch)
tree4003f7a3b9e32a60f967f883260368b11052c23b /gtk/compose-parse.py
parentf87da278ad5aa20af58b67fcc79a3ffb55b55d28 (diff)
downloadgtk+-804d330195f4e3a777b64a49d70059af2742f1c0.tar.gz
Typo fixes
Fix s/occurence/occurrence in many places.
Diffstat (limited to 'gtk/compose-parse.py')
-rwxr-xr-xgtk/compose-parse.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/compose-parse.py b/gtk/compose-parse.py
index 16cc50095e..9a6513a70a 100755
--- a/gtk/compose-parse.py
+++ b/gtk/compose-parse.py
@@ -811,9 +811,9 @@ if opt_gtk:
ct_index = start_offset
for line_num in range(len(compose_table)):
for i in range(WIDTHOFCOMPOSETABLE):
- occurences = compose_table[line_num][i+1]
+ occurrences = compose_table[line_num][i+1]
compose_table[line_num][i+1] = ct_index
- ct_index += occurences * (i+2)
+ ct_index += occurrences * (i+2)
for sequence in xorg_compose_sequences:
ct_second_part.append(map(convert_UnotationToHex, sequence))