Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e5af3c25
Commit
e5af3c25
authored
Mar 06, 2003
by
Juanma Barranquero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fx_get_resource, x_get_resource_string): Pass xrdb to check for resources
passed on the command line.
parent
c13a8a91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/w32fns.c
src/w32fns.c
+3
-2
No files found.
src/w32fns.c
View file @
e5af3c25
...
...
@@ -3073,7 +3073,7 @@ and the class is `Emacs.CLASS.SUBCLASS'. */)
strcat (name_key, ".");
strcat (name_key, SDATA (attribute));
value = x_get_string_resource (
Qnil
,
value = x_get_string_resource (
check_x_display_info (Qnil)->xrdb
,
name_key, class_key);
if (value != (char *) 0)
...
...
@@ -3104,7 +3104,8 @@ x_get_resource_string (attribute, class)
attribute);
sprintf (class_key, "%s.%s", EMACS_CLASS, class);
return x_get_string_resource (sf, name_key, class_key);
return x_get_string_resource (FRAME_X_DISPLAY_INFO (sf)->xrdb,
name_key, class_key);
}
/* Types we might convert a resource string into. */
...
...
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