emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 2079106: Fix produce_composite_width typo


From: Paul Eggert
Subject: [Emacs-diffs] master 2079106: Fix produce_composite_width typo
Date: Sun, 28 Dec 2014 17:00:45 +0000

branch: master
commit 20791069fa34b486c018ba7f27982bdc6ad2a4ea
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Fix produce_composite_width typo
    
    * term.c (produce_composite_glyph):
    Fix typo that confused number of columns for pixel width.
---
 src/ChangeLog |    6 ++++++
 src/term.c    |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/ChangeLog b/src/ChangeLog
index 9e3fb90..2ab5101 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2014-12-28  Paul Eggert  <address@hidden>
+
+       Fix produce_composite_width typo
+       * term.c (produce_composite_glyph):
+       Fix typo that confused number of columns for pixel width.
+
 2014-12-28  Paul Eggert  <address@hidden>
 
        Wrap dll functions more simply
diff --git a/src/term.c b/src/term.c
index 04f6e33..bcb83e5 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1736,7 +1736,7 @@ produce_composite_glyph (struct it *it)
     {
       struct composition *cmp = composition_table[it->cmp_it.id];
 
-      it->pixel_width = cmp->width;
+      it->pixel_width = cmp->pixel_width;
     }
   else
     {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]