diff options
Diffstat (limited to 'src/composite.c')
| -rw-r--r-- | src/composite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/composite.c b/src/composite.c index c44c8e565d0..abf71c275fa 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -355,7 +355,7 @@ get_composition_id (EMACS_INT charpos, EMACS_INT bytepos, EMACS_INT nchars, | |||
| 355 | else | 355 | else |
| 356 | { | 356 | { |
| 357 | /* Rule-base composition. */ | 357 | /* Rule-base composition. */ |
| 358 | float leftmost = 0.0, rightmost; | 358 | double leftmost = 0.0, rightmost; |
| 359 | 359 | ||
| 360 | ch = XINT (key_contents[0]); | 360 | ch = XINT (key_contents[0]); |
| 361 | rightmost = ch != '\t' ? CHAR_WIDTH (ch) : 1; | 361 | rightmost = ch != '\t' ? CHAR_WIDTH (ch) : 1; |
| @@ -364,7 +364,7 @@ get_composition_id (EMACS_INT charpos, EMACS_INT bytepos, EMACS_INT nchars, | |||
| 364 | { | 364 | { |
| 365 | int rule, gref, nref; | 365 | int rule, gref, nref; |
| 366 | int this_width; | 366 | int this_width; |
| 367 | float this_left; | 367 | double this_left; |
| 368 | 368 | ||
| 369 | rule = XINT (key_contents[i]); | 369 | rule = XINT (key_contents[i]); |
| 370 | ch = XINT (key_contents[i + 1]); | 370 | ch = XINT (key_contents[i + 1]); |