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
4bc2315e
Commit
4bc2315e
authored
Aug 31, 2003
by
Jason Rumney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(w32_per_char_metric): Allow cached metrics to be
returned even when font_type is unknown.
parent
a24d4cb2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/ChangeLog
src/ChangeLog
+3
-0
src/w32term.c
src/w32term.c
+2
-1
No files found.
src/ChangeLog
View file @
4bc2315e
2003-08-31 Jason Rumney <jasonr@gnu.org>
* w32term.c (w32_per_char_metric): Allow cached metrics to be
returned even when font_type is unknown.
* xdisp.c (init_iterator): Remove old WINDOWSNT conditional.
2003-08-30 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
...
...
src/w32term.c
View file @
4bc2315e
...
...
@@ -895,7 +895,6 @@ w32_per_char_metric (font, char2b, font_type)
BOOL retval;
xassert (font && char2b);
xassert (font_type != UNKNOWN_FONT);
/* Handle the common cases quickly. */
if (!font->bdf && font->per_char == NULL)
...
...
@@ -904,6 +903,8 @@ w32_per_char_metric (font, char2b, font_type)
else if (!font->bdf && *char2b < 128)
return &font->per_char[*char2b];
xassert (font_type != UNKNOWN_FONT);
pcm = &font->scratch;
if (font_type == BDF_1D_FONT)
...
...
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