diff options
| author | YAMAMOTO Mitsuharu | 2005-09-28 08:15:50 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2005-09-28 08:15:50 +0000 |
| commit | eaf92438847cbd1e005730f6987c067aa21fee00 (patch) | |
| tree | 863503496dc3fe2d769297fb6b5dc7335a17f2f6 /src | |
| parent | 53cfefc8fb8b79ec7a2e9574a899c1aca0b236e1 (diff) | |
| download | emacs-eaf92438847cbd1e005730f6987c067aa21fee00.tar.gz emacs-eaf92438847cbd1e005730f6987c067aa21fee00.zip | |
(struct _XCharStruct): Each member now takes short value.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/macgui.h | 13 |
2 files changed, 12 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 51af064232b..0a110990244 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2005-09-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * macgui.h (struct _XCharStruct): Each member now takes short value. | ||
| 4 | |||
| 1 | 2005-09-27 Dan Nicolaescu <dann@ics.uci.edu> | 5 | 2005-09-27 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 6 | ||
| 3 | * xfaces.c (lookup_derived_face): Add parameter type. | 7 | * xfaces.c (lookup_derived_face): Add parameter type. |
diff --git a/src/macgui.h b/src/macgui.h index 607890317e1..fc777de03ba 100644 --- a/src/macgui.h +++ b/src/macgui.h | |||
| @@ -95,11 +95,14 @@ typedef GWorldPtr Pixmap; | |||
| 95 | /* Emulate XCharStruct. */ | 95 | /* Emulate XCharStruct. */ |
| 96 | typedef struct _XCharStruct | 96 | typedef struct _XCharStruct |
| 97 | { | 97 | { |
| 98 | int rbearing; | 98 | short lbearing; /* origin to left edge of raster */ |
| 99 | int lbearing; | 99 | short rbearing; /* origin to right edge of raster */ |
| 100 | int width; | 100 | short width; /* advance to next char's origin */ |
| 101 | int ascent; | 101 | short ascent; /* baseline to top edge of raster */ |
| 102 | int descent; | 102 | short descent; /* baseline to bottom edge of raster */ |
| 103 | #if 0 | ||
| 104 | unsigned short attributes; /* per char flags (not predefined) */ | ||
| 105 | #endif | ||
| 103 | } XCharStruct; | 106 | } XCharStruct; |
| 104 | 107 | ||
| 105 | #define STORE_XCHARSTRUCT(xcs, w, bds) \ | 108 | #define STORE_XCHARSTRUCT(xcs, w, bds) \ |