diff src/gui_gtk_x11.c @ 19816:f37028184d6a

patch 8.2.0464: typos and other small problems Commit: https://github.com/vim/vim/commit/14285cb801c5ba965fdb89c44e8c27d912edfe4b Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 27 20:58:37 2020 +0100 patch 8.2.0464: typos and other small problems Problem: Typos and other small problems. Solution: Fix the typos. Add missing files to the distribution.
author Bram Moolenaar <Bram@vim.org>
date Fri, 27 Mar 2020 21:00:07 +0100
parents 79e10adc821d
children 8590a462ad46
line wrap: on
line diff
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -4743,6 +4743,8 @@ is_cjk_font(PangoFontDescription *font_d
 	PangoCoverage	*coverage;
 	gunichar	uc;
 
+	// Valgrind reports a leak for pango_language_from_string(), but the
+	// documentation says "This is owned by Pango and should not be freed".
 	coverage = pango_font_get_coverage(
 		font, pango_language_from_string(cjk_langs[i]));