Fix Windows CreateDC/DeleteDC mismatch (STR #3373).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12333 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
d577f751b2
commit
5252bbe03b
1
CHANGES
1
CHANGES
@ -3,6 +3,7 @@ CHANGES IN FLTK 1.3.5 RELEASED: ??? ?? 2017
|
||||
|
||||
Bug fixes and other improvements
|
||||
|
||||
- Fix Windows CreateDC/DeleteDC mismatch (STR #3373).
|
||||
- Updated bundled configure scripts config.guess and config.sub.
|
||||
- Fix configure --enable-cairo --enable-cairoext,
|
||||
see report in fltk.general:
|
||||
|
@ -74,7 +74,7 @@ static BOOL CALLBACK screen_cb(HMONITOR mon, HDC, LPRECT r, LPARAM) {
|
||||
dpi[num_screens][0] = (float)GetDeviceCaps(screen, LOGPIXELSX);
|
||||
dpi[num_screens][1] = (float)GetDeviceCaps(screen, LOGPIXELSY);
|
||||
}
|
||||
ReleaseDC(0L, screen);
|
||||
DeleteDC(screen);
|
||||
}
|
||||
|
||||
num_screens ++;
|
||||
|
Loading…
Reference in New Issue
Block a user