diff options
| author | Dmitry Antipov | 2012-08-15 18:20:16 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-08-15 18:20:16 +0400 |
| commit | 4e6a86c633a4ca3084a7bc30101f8b4acdd38d28 (patch) | |
| tree | 7846fd770e60e97d26a6887306c1e5f8eef1bdd4 /src/xfont.c | |
| parent | b6928595db69a78f1cc9a69ae5ba1238b38c0d43 (diff) | |
| download | emacs-4e6a86c633a4ca3084a7bc30101f8b4acdd38d28.tar.gz emacs-4e6a86c633a4ca3084a7bc30101f8b4acdd38d28.zip | |
Generalize and cleanup font subsystem checks.
* font.h (FONT_DEBUG, font_assert): Remove.
* font.c, fontset.c, w32font.c, xfont.c, xftfont.c: Change
font_assert to eassert. Use eassert where appropriate.
Diffstat (limited to 'src/xfont.c')
| -rw-r--r-- | src/xfont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfont.c b/src/xfont.c index e3e2eb18c29..9e929eed678 100644 --- a/src/xfont.c +++ b/src/xfont.c | |||
| @@ -59,7 +59,7 @@ xfont_get_pcm (XFontStruct *xfont, XChar2b *char2b) | |||
| 59 | /* The result metric information. */ | 59 | /* The result metric information. */ |
| 60 | XCharStruct *pcm = NULL; | 60 | XCharStruct *pcm = NULL; |
| 61 | 61 | ||
| 62 | font_assert (xfont && char2b); | 62 | eassert (xfont && char2b); |
| 63 | 63 | ||
| 64 | if (xfont->per_char != NULL) | 64 | if (xfont->per_char != NULL) |
| 65 | { | 65 | { |