diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2009-11-21 00:55:51 +0000 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2009-11-21 00:55:51 +0000 |
commit | 03312ffc1f717e067fa1bcbac00d6a5b876be442 (patch) | |
tree | 25f4ccae747df0ef1d9ccc2b08d5da09033b2fda /winsup | |
parent | 0dcfbad035834c0d817286aef7fa7f73033b452f (diff) | |
download | newlib-03312ffc1f717e067fa1bcbac00d6a5b876be442.zip newlib-03312ffc1f717e067fa1bcbac00d6a5b876be442.tar.gz newlib-03312ffc1f717e067fa1bcbac00d6a5b876be442.tar.bz2 |
2009-20-10 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
* include/wingdi.h (ENHMFENUMPROC): Correct definition.
Thanks to Alexander Vassilev for the report.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/w32api/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/w32api/include/wingdi.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 2cf0fa2..e2470bb 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,9 @@ +2009-20-10 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net> + + * include/wingdi.h (ENHMFENUMPROC): Correct definition. + + Thanks to Alexander Vassilev for the report. + 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> * include/iprtrmib.h (MIB_IPADDRROW): Correct definition. diff --git a/winsup/w32api/include/wingdi.h b/winsup/w32api/include/wingdi.h index 6b5ce9c..f6ac0f1 100644 --- a/winsup/w32api/include/wingdi.h +++ b/winsup/w32api/include/wingdi.h @@ -2661,7 +2661,7 @@ typedef struct _DISPLAY_DEVICEW { typedef BOOL (CALLBACK *ABORTPROC)(HDC,int); typedef int (CALLBACK *MFENUMPROC)(HDC,HANDLETABLE*,METARECORD*,int,LPARAM); -typedef int (CALLBACK *ENHMFENUMPROC)(HDC,HANDLETABLE*,ENHMETARECORD*,int,LPARAM); +typedef int (CALLBACK *ENHMFENUMPROC)(HDC,HANDLETABLE*,const ENHMETARECORD*,int,LPARAM); typedef int (CALLBACK *OLDFONTENUMPROCA)(const LOGFONTA*,const TEXTMETRICA*,DWORD,LPARAM); typedef int (CALLBACK *OLDFONTENUMPROCW)(const LOGFONTW*,const TEXTMETRICW*,DWORD,LPARAM); typedef OLDFONTENUMPROCA FONTENUMPROCA; |