1
0
Fork 0

(svn r15315) -Fix (r15314): make gcc happy (for once)

release/0.7
glx 2009-02-02 13:44:19 +00:00
parent ad210c7647
commit c6bc3b8692
1 changed files with 1 additions and 1 deletions

View File

@ -169,6 +169,7 @@ static const char *GetEnglishFontName(const ENUMLOGFONTEX *logfont)
{
static char font_name[MAX_PATH];
const char *ret_font_name = NULL;
uint pos = 0;
HFONT font = CreateFontIndirect(&logfont->elfLogFont);
if (font == NULL) goto err1;
@ -182,7 +183,6 @@ static const char *GetEnglishFontName(const ENUMLOGFONTEX *logfont)
dw = GetFontData(dc, 'eman', 0, buf, dw);
if (dw == GDI_ERROR) goto err3;
uint pos = 0;
uint16 format = buf[pos++] << 8;
format += buf[pos++];
assert(format == 0);