emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/src ChangeLog w32font.c


From: Jason Rumney
Subject: [Emacs-diffs] emacs/src ChangeLog w32font.c
Date: Sat, 25 Apr 2009 06:11:48 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Jason Rumney <jasonr>   09/04/25 06:11:48

Modified files:
        src            : ChangeLog w32font.c 

Log message:
        (clear_cached_metrics): Remove, unused since 2008-08-02.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/ChangeLog?cvsroot=emacs&r1=1.7509&r2=1.7510
http://cvs.savannah.gnu.org/viewcvs/emacs/src/w32font.c?cvsroot=emacs&r1=1.71&r2=1.72

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/src/ChangeLog,v
retrieving revision 1.7509
retrieving revision 1.7510
diff -u -b -r1.7509 -r1.7510
--- ChangeLog   25 Apr 2009 00:26:34 -0000      1.7509
+++ ChangeLog   25 Apr 2009 06:11:46 -0000      1.7510
@@ -1,3 +1,7 @@
+2009-04-25  Jason Rumney  <address@hidden>
+
+       * w32font.c (clear_cached_metrics): Remove, unused since 2008-08-02.
+
 2009-04-25  YAMAMOTO Mitsuharu  <address@hidden>
 
        * fringe.c (init_fringe_bitmap) [HAVE_X_WINDOWS && WORDS_BIG_ENDIAN]:

Index: w32font.c
===================================================================
RCS file: /sources/emacs/emacs/src/w32font.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -b -r1.71 -r1.72
--- w32font.c   17 Apr 2009 19:04:50 -0000      1.71
+++ w32font.c   25 Apr 2009 06:11:47 -0000      1.72
@@ -114,7 +114,6 @@
 static int w32font_full_name P_ ((LOGFONT *, Lisp_Object, int, char *, int));
 static void compute_metrics P_ ((HDC, struct w32font_info *, unsigned int,
                                 struct w32_metric_cache *));
-static void clear_cached_metrics P_ ((struct w32font_info *));
 
 static Lisp_Object w32_registry P_ ((LONG, DWORD));
 
@@ -2390,19 +2389,6 @@
     metrics->status = W32METRIC_FAIL;
 }
 
-static void
-clear_cached_metrics (w32_font)
-     struct w32font_info *w32_font;
-{
-  int i;
-  for (i = 0; i < w32_font->n_cache_blocks; i++)
-    {
-      if (w32_font->cached_metrics[i])
-        bzero (w32_font->cached_metrics[i],
-               CACHE_BLOCKSIZE * sizeof (struct font_metrics));
-    }
-}
-
 DEFUN ("x-select-font", Fx_select_font, Sx_select_font, 0, 2, 0,
        doc: /* Read a font name using a W32 font selection dialog.
 Return fontconfig style font string corresponding to the selection.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]