diff options
| author | Jim Blandy | 1992-07-13 20:56:17 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-07-13 20:56:17 +0000 |
| commit | 0137dbf747e9fcbfe6f37c7fb0bbb29012a27179 (patch) | |
| tree | 658380474eae580fc6b03b724e6498d9cf0b783f /src/sunfns.c | |
| parent | ff11dfa15b3b56559bac0d5c6b0a26a80d2d5f6d (diff) | |
| download | emacs-0137dbf747e9fcbfe6f37c7fb0bbb29012a27179.tar.gz emacs-0137dbf747e9fcbfe6f37c7fb0bbb29012a27179.zip | |
entered into RCS
Diffstat (limited to 'src/sunfns.c')
| -rw-r--r-- | src/sunfns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sunfns.c b/src/sunfns.c index 7c637e670f0..d870c7e4090 100644 --- a/src/sunfns.c +++ b/src/sunfns.c | |||
| @@ -46,14 +46,14 @@ who first discovered the Menu_Base_Kludge. | |||
| 46 | #include "buffer.h" | 46 | #include "buffer.h" |
| 47 | #include "termhooks.h" | 47 | #include "termhooks.h" |
| 48 | 48 | ||
| 49 | /* conversion to/from character & screen coordinates */ | 49 | /* conversion to/from character & frame coordinates */ |
| 50 | /* From Gosling Emacs SunWindow driver by Chris Torek */ | 50 | /* From Gosling Emacs SunWindow driver by Chris Torek */ |
| 51 | 51 | ||
| 52 | /* Chars to screen coords. Note that we speak in zero origin. */ | 52 | /* Chars to frame coords. Note that we speak in zero origin. */ |
| 53 | #define CtoSX(cx) ((cx) * Sun_Font_Xsize) | 53 | #define CtoSX(cx) ((cx) * Sun_Font_Xsize) |
| 54 | #define CtoSY(cy) ((cy) * Sun_Font_Ysize) | 54 | #define CtoSY(cy) ((cy) * Sun_Font_Ysize) |
| 55 | 55 | ||
| 56 | /* Screen coords to chars */ | 56 | /* Frame coords to chars */ |
| 57 | #define StoCX(sx) ((sx) / Sun_Font_Xsize) | 57 | #define StoCX(sx) ((sx) / Sun_Font_Xsize) |
| 58 | #define StoCY(sy) ((sy) / Sun_Font_Ysize) | 58 | #define StoCY(sy) ((sy) / Sun_Font_Ysize) |
| 59 | 59 | ||