Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
19815:e841a4cf5fee | 19816:f37028184d6a |
---|---|
4741 for (i = 0; !is_cjk && i < G_N_ELEMENTS(cjk_langs); ++i) | 4741 for (i = 0; !is_cjk && i < G_N_ELEMENTS(cjk_langs); ++i) |
4742 { | 4742 { |
4743 PangoCoverage *coverage; | 4743 PangoCoverage *coverage; |
4744 gunichar uc; | 4744 gunichar uc; |
4745 | 4745 |
4746 // Valgrind reports a leak for pango_language_from_string(), but the | |
4747 // documentation says "This is owned by Pango and should not be freed". | |
4746 coverage = pango_font_get_coverage( | 4748 coverage = pango_font_get_coverage( |
4747 font, pango_language_from_string(cjk_langs[i])); | 4749 font, pango_language_from_string(cjk_langs[i])); |
4748 | 4750 |
4749 if (coverage != NULL) | 4751 if (coverage != NULL) |
4750 { | 4752 { |