diff options
| author | Kenichi Handa | 2008-05-14 01:43:24 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-05-14 01:43:24 +0000 |
| commit | f6bac5582b0d395b132685dc12180ae16708588c (patch) | |
| tree | 39c5442d5af86bebc90c516ef946e645ada5df89 /src | |
| parent | 3528e709a4eb8eb0f4346804a4c5166fe3cc594f (diff) | |
| download | emacs-f6bac5582b0d395b132685dc12180ae16708588c.tar.gz emacs-f6bac5582b0d395b132685dc12180ae16708588c.zip | |
(x_load_resources): Don't setup a fontset resource.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xrdb.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/xrdb.c b/src/xrdb.c index 6472c8988a2..b34b85b7357 100644 --- a/src/xrdb.c +++ b/src/xrdb.c | |||
| @@ -610,29 +610,6 @@ x_load_resources (display, xrm_string, myname, myclass) | |||
| 610 | 610 | ||
| 611 | #endif /* not USE_MOTIF */ | 611 | #endif /* not USE_MOTIF */ |
| 612 | 612 | ||
| 613 | #ifdef HAVE_X_I18N | ||
| 614 | { | ||
| 615 | #ifdef USE_MOTIF | ||
| 616 | Bool motif = True; | ||
| 617 | #else /* not USE_MOTIF */ | ||
| 618 | Bool motif = False; | ||
| 619 | #endif /* not USE_MOTIF */ | ||
| 620 | /* Setup the default fontSet resource. */ | ||
| 621 | extern char *xic_create_fontsetname P_ ((char *base_fontname, Bool motif)); | ||
| 622 | char *fontsetname = xic_create_fontsetname (helv, motif); | ||
| 623 | int len = strlen (fontsetname); | ||
| 624 | char *buf = line; | ||
| 625 | |||
| 626 | /* fontsetname may be very long. */ | ||
| 627 | if (len + 16 > 256) | ||
| 628 | buf = alloca (len + 16); | ||
| 629 | sprintf (buf, "Emacs*fontSet: %s", fontsetname); | ||
| 630 | XrmPutLineResource (&rdb, buf); | ||
| 631 | if (fontsetname != helv) | ||
| 632 | xfree (fontsetname); | ||
| 633 | } | ||
| 634 | #endif /* HAVE_X_I18N */ | ||
| 635 | |||
| 636 | user_database = get_user_db (display); | 613 | user_database = get_user_db (display); |
| 637 | 614 | ||
| 638 | /* Figure out what the "customization string" is, so we can use it | 615 | /* Figure out what the "customization string" is, so we can use it |