Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f6bac558
Commit
f6bac558
authored
May 14, 2008
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(x_load_resources): Don't setup a fontset resource.
parent
3528e709
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
23 deletions
+0
-23
src/xrdb.c
src/xrdb.c
+0
-23
No files found.
src/xrdb.c
View file @
f6bac558
...
...
@@ -610,29 +610,6 @@ x_load_resources (display, xrm_string, myname, myclass)
#endif
/* not USE_MOTIF */
#ifdef HAVE_X_I18N
{
#ifdef USE_MOTIF
Bool
motif
=
True
;
#else
/* not USE_MOTIF */
Bool
motif
=
False
;
#endif
/* not USE_MOTIF */
/* Setup the default fontSet resource. */
extern
char
*
xic_create_fontsetname
P_
((
char
*
base_fontname
,
Bool
motif
));
char
*
fontsetname
=
xic_create_fontsetname
(
helv
,
motif
);
int
len
=
strlen
(
fontsetname
);
char
*
buf
=
line
;
/* fontsetname may be very long. */
if
(
len
+
16
>
256
)
buf
=
alloca
(
len
+
16
);
sprintf
(
buf
,
"Emacs*fontSet: %s"
,
fontsetname
);
XrmPutLineResource
(
&
rdb
,
buf
);
if
(
fontsetname
!=
helv
)
xfree
(
fontsetname
);
}
#endif
/* HAVE_X_I18N */
user_database
=
get_user_db
(
display
);
/* Figure out what the "customization string" is, so we can use it
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment