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
3a28db80
Commit
3a28db80
authored
Feb 14, 2000
by
Dave Love
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(tty_defined_color): Declare color_idx unsigned long.
parent
8a44227a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/ChangeLog
src/ChangeLog
+4
-0
src/xfaces.c
src/xfaces.c
+3
-2
No files found.
src/ChangeLog
View file @
3a28db80
No preview for this file type
src/xfaces.c
View file @
3a28db80
...
...
@@ -1085,7 +1085,8 @@ tty_defined_color (f, color_name, color_def, alloc)
int alloc;
{
Lisp_Object color_desc;
int color_idx = FACE_TTY_DEFAULT_COLOR, red = 0, green = 0, blue = 0;
unsigned long color_idx = FACE_TTY_DEFAULT_COLOR,
red = 0, green = 0, blue = 0;
int status = 1;
if (*color_name && !NILP (Ffboundp (Qtty_color_desc)))
...
...
@@ -1121,7 +1122,7 @@ tty_defined_color (f, color_name, color_def, alloc)
color_idx = FACE_TTY_DEFAULT_BG_COLOR;
}
color_def->pixel =
(unsigned long)
color_idx;
color_def->pixel = color_idx;
color_def->red = red;
color_def->green = green;
color_def->blue = blue;
...
...
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