HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed16b6f
)
(pixel_to_char_size): Cast args to int.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 6 Mar 1996 06:22:06 +0000
(06:22 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 6 Mar 1996 06:22:06 +0000
(06:22 +0000)
src/widget.c
patch
|
blob
|
blame
|
history
diff --git
a/src/widget.c
b/src/widget.c
index
de25e2d
..
c2c6bea
100644
(file)
--- a/
src/widget.c
+++ b/
src/widget.c
@@
-193,8
+193,8
@@
pixel_to_char_size (ew, pixel_width, pixel_height, char_width, char_height)
int* char_height;
{
struct frame* f = ew->emacs_frame.frame;
- *char_width = PIXEL_TO_CHAR_WIDTH (f, pixel_width);
- *char_height = PIXEL_TO_CHAR_HEIGHT (f, pixel_height);
+ *char_width = PIXEL_TO_CHAR_WIDTH (f,
(int)
pixel_width);
+ *char_height = PIXEL_TO_CHAR_HEIGHT (f,
(int)
pixel_height);
}
static void