summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-12-20 15:49:04 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2014-12-20 15:50:46 -0800
commit67bb1c1944ef69710e9d36420bc01e2183941358 (patch)
treec5b0a170041727e937fabc81e9370882ed44d0f0
parent4cc2f6918ddd44bf1f10a1d689b7bd769fcf6b8e (diff)
* composite.h (struct composition.width): Now int
instead of unsigned short, as we prefer signed integers.
-rw-r--r--src/ChangeLog3
-rw-r--r--src/composite.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4c2f2ec59d..51ab3396ef 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
2014-12-20 Paul Eggert <eggert@cs.ucla.edu>
+ * composite.h (struct composition.width): Now int
+ instead of unsigned short, as we prefer signed integers.
+
Let charset tick grow past USHRT_MAX
* charset.c, charset.h (charset_ordered_list_tick):
Now EMACS_UINT, not unsigned short.
diff --git a/src/composite.h b/src/composite.h
index f01ae323c0..1080eb0960 100644
--- a/src/composite.h
+++ b/src/composite.h
@@ -156,7 +156,7 @@ struct composition {
/* How many columns the overall glyphs occupy on the screen. This
gives an approximate value for column calculation in
Fcurrent_column, and etc. */
- unsigned short width;
+ int width;
/* Method of the composition. */
enum composition_method method;