aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/composite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/composite.c b/src/composite.c
index e59ba352511..e0ac92ee20e 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -343,7 +343,7 @@ get_composition_id (charpos, bytepos, nchars, prop, string)
343 { 343 {
344 int this_width; 344 int this_width;
345 ch = XINT (key_contents[i]); 345 ch = XINT (key_contents[i]);
346 this_width = CHAR_WIDTH (ch); 346 this_width = (ch == '\t' ? 1 : CHAR_WIDTH (ch));
347 if (cmp->width < this_width) 347 if (cmp->width < this_width)
348 cmp->width = this_width; 348 cmp->width = this_width;
349 } 349 }