diff options
| author | Paul Eggert | 2012-04-09 15:54:59 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-04-09 15:54:59 -0700 |
| commit | 45e9f7da84c1bd3fc0d36d05c5708ed3b2d3a193 (patch) | |
| tree | 5bc87a8b5a3c754b8eb44a612cc6c03561d6b968 /src/composite.c | |
| parent | 9d6b4d53469a9ffd67bd770fabc6fe254e35c21d (diff) | |
| parent | 05920a43fc18e696b464387e781e7cfdcea5b5af (diff) | |
| download | emacs-45e9f7da84c1bd3fc0d36d05c5708ed3b2d3a193.tar.gz emacs-45e9f7da84c1bd3fc0d36d05c5708ed3b2d3a193.zip | |
Merge from trunk.
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 0d1ab266309..50aca156ba4 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -355,7 +355,7 @@ get_composition_id (ptrdiff_t charpos, ptrdiff_t bytepos, ptrdiff_t 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 (ptrdiff_t charpos, ptrdiff_t bytepos, ptrdiff_t 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]); |