From a4b98ac50584f51b902b689db5fc265ba7d6e3c8 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 1 Mar 2022 10:49:55 +0200 Subject: [PATCH 23/23] Fix "inital..." typos -> "initial..." See osdn #43982 Signed-off-by: Marko Lindqvist --- client/gui-gtk-3.0/chatline.c | 6 +++--- client/gui-gtk-3.22/chatline.c | 6 +++--- client/gui-gtk-4.0/chatline.c | 6 +++--- translations/core/check_po.pl | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/client/gui-gtk-3.0/chatline.c b/client/gui-gtk-3.0/chatline.c index 4886b3a4ea..e0f0a334ec 100644 --- a/client/gui-gtk-3.0/chatline.c +++ b/client/gui-gtk-3.0/chatline.c @@ -755,10 +755,10 @@ void set_message_buffer_view_link_handlers(GtkWidget *view) void apply_text_tag(const struct text_tag *ptag, GtkTextBuffer *buf, ft_offset_t text_start_offset, const char *text) { - static bool initalized = FALSE; + static bool initialized = FALSE; GtkTextIter start, stop; - if (!initalized) { + if (!initialized) { gtk_text_buffer_create_tag(buf, "bold", "weight", PANGO_WEIGHT_BOLD, NULL); gtk_text_buffer_create_tag(buf, "italic", @@ -767,7 +767,7 @@ void apply_text_tag(const struct text_tag *ptag, GtkTextBuffer *buf, "strikethrough", TRUE, NULL); gtk_text_buffer_create_tag(buf, "underline", "underline", PANGO_UNDERLINE_SINGLE, NULL); - initalized = TRUE; + initialized = TRUE; } /* Get the position. */ diff --git a/client/gui-gtk-3.22/chatline.c b/client/gui-gtk-3.22/chatline.c index 99990b534e..7779b3f3d9 100644 --- a/client/gui-gtk-3.22/chatline.c +++ b/client/gui-gtk-3.22/chatline.c @@ -755,10 +755,10 @@ void set_message_buffer_view_link_handlers(GtkWidget *view) void apply_text_tag(const struct text_tag *ptag, GtkTextBuffer *buf, ft_offset_t text_start_offset, const char *text) { - static bool initalized = FALSE; + static bool initialized = FALSE; GtkTextIter start, stop; - if (!initalized) { + if (!initialized) { gtk_text_buffer_create_tag(buf, "bold", "weight", PANGO_WEIGHT_BOLD, NULL); gtk_text_buffer_create_tag(buf, "italic", @@ -767,7 +767,7 @@ void apply_text_tag(const struct text_tag *ptag, GtkTextBuffer *buf, "strikethrough", TRUE, NULL); gtk_text_buffer_create_tag(buf, "underline", "underline", PANGO_UNDERLINE_SINGLE, NULL); - initalized = TRUE; + initialized = TRUE; } /* Get the position. */ diff --git a/client/gui-gtk-4.0/chatline.c b/client/gui-gtk-4.0/chatline.c index 313aa8fced..73a1851700 100644 --- a/client/gui-gtk-4.0/chatline.c +++ b/client/gui-gtk-4.0/chatline.c @@ -773,10 +773,10 @@ void set_message_buffer_view_link_handlers(GtkWidget *view) void apply_text_tag(const struct text_tag *ptag, GtkTextBuffer *buf, ft_offset_t text_start_offset, const char *text) { - static bool initalized = FALSE; + static bool initialized = FALSE; GtkTextIter start, stop; - if (!initalized) { + if (!initialized) { gtk_text_buffer_create_tag(buf, "bold", "weight", PANGO_WEIGHT_BOLD, NULL); gtk_text_buffer_create_tag(buf, "italic", @@ -785,7 +785,7 @@ void apply_text_tag(const struct text_tag *ptag, GtkTextBuffer *buf, "strikethrough", TRUE, NULL); gtk_text_buffer_create_tag(buf, "underline", "underline", PANGO_UNDERLINE_SINGLE, NULL); - initalized = TRUE; + initialized = TRUE; } /* Get the position. */ diff --git a/translations/core/check_po.pl b/translations/core/check_po.pl index 966eaf230a..f66ee090a8 100644 --- a/translations/core/check_po.pl +++ b/translations/core/check_po.pl @@ -58,7 +58,7 @@ use constant S_LOOKING_START => 0; # looking for start of entry use constant S_DOING_MSGID => 1; # doing msgid part use constant S_DOING_MSGSTR => 2; # doing msgstr part -# Initialize or reinitalize globals to prepare for new entry: +# Initialize or reinitialize globals to prepare for new entry: sub new_entry { @amsgid = (); @amsgstr = (); -- 2.34.1