mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-19 02:32:44 +03:00
Log nsfont_width failure.
This commit is contained in:
parent
3c8e522c25
commit
af4d72416b
@ -27,6 +27,7 @@
|
||||
#include <assert.h>
|
||||
#include <windows.h>
|
||||
|
||||
#include "utils/log.h"
|
||||
#include "utils/nsoption.h"
|
||||
#include "utils/utf8.h"
|
||||
#include "desktop/font.h"
|
||||
@ -148,6 +149,7 @@ static bool nsfont_width(const plot_font_style_t *style,
|
||||
ReleaseDC(NULL, hdc);
|
||||
return true;
|
||||
}
|
||||
LOG("nsfont_width failed");
|
||||
font = SelectObject(hdc, fontbak);
|
||||
DeleteObject(font);
|
||||
ReleaseDC(NULL, hdc);
|
||||
|
Loading…
Reference in New Issue
Block a user