/* Implementation of BDF font handling on the Microsoft W32 API.
- Copyright (C) 1999, 2002, 2003, 2004, 2005,
- 2006 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005,
+ 2006, 2007 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
+the Free Software Foundation; either version 3, or (at your option)
any later version.
GNU Emacs is distributed in the hope that it will be useful,
return 1;
}
-char*
+static char*
get_quoted_string(char *start, char *end)
{
char *p, *q, *result;
font_char *pch;
cache_bitmap *pcb;
- UnmapViewOfFile(fontp->hfilemap);
+ UnmapViewOfFile(fontp->font);
CloseHandle(fontp->hfilemap);
CloseHandle(fontp->hfile);
retval = 1;
}
}
+ UnmapViewOfFile (font);
CloseHandle (hfile);
CloseHandle (hfilemap);
return retval;