From 80e376b6d6a6bef655246b422005da0dd1d32bb9 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 1 Mar 2022 10:49:55 +0200 Subject: [PATCH 34/34] Fix "inital..." typos -> "initial..." See osdn #43982 Signed-off-by: Marko Lindqvist --- client/gui-gtk-3.22/chatline.c | 6 +++--- client/gui-gtk-4.0/chatline.c | 6 +++--- translations/core/check_po.pl | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/gui-gtk-3.22/chatline.c b/client/gui-gtk-3.22/chatline.c index 34e3c7a679..8497d0c02c 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 8e431798f5..838ff7eca5 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