Fix VC8 macro redef warning. (DONE!)
This commit is contained in:
@@ -117,7 +117,7 @@ namespace VDDebugInfo
|
|||||||
|
|
||||||
pctx->sRawBlock = RString();
|
pctx->sRawBlock = RString();
|
||||||
pctx->pRVAHeap = NULL;
|
pctx->pRVAHeap = NULL;
|
||||||
GetVDIPath( pctx->sFilename, ARRAYSIZE(pctx->sFilename) );
|
GetVDIPath( pctx->sFilename, ARRAY_SIZE(pctx->sFilename) );
|
||||||
pctx->sError = RString();
|
pctx->sError = RString();
|
||||||
|
|
||||||
HANDLE h = CreateFile( pctx->sFilename, GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL );
|
HANDLE h = CreateFile( pctx->sFilename, GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL );
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ void DialogUtil::LocalizeDialogAndContents( HWND hdlg )
|
|||||||
RString sGroup;
|
RString sGroup;
|
||||||
|
|
||||||
{
|
{
|
||||||
::GetWindowText( hdlg, szTemp, ARRAYSIZE(szTemp) );
|
::GetWindowText( hdlg, szTemp, ARRAY_SIZE(szTemp) );
|
||||||
RString s = szTemp;
|
RString s = szTemp;
|
||||||
sGroup = "Dialog-"+s;
|
sGroup = "Dialog-"+s;
|
||||||
s = THEME->GetString( sGroup, s );
|
s = THEME->GetString( sGroup, s );
|
||||||
@@ -71,7 +71,7 @@ void DialogUtil::LocalizeDialogAndContents( HWND hdlg )
|
|||||||
|
|
||||||
for( HWND hwndChild = ::GetTopWindow(hdlg); hwndChild != NULL; hwndChild = ::GetNextWindow(hwndChild,GW_HWNDNEXT) )
|
for( HWND hwndChild = ::GetTopWindow(hdlg); hwndChild != NULL; hwndChild = ::GetNextWindow(hwndChild,GW_HWNDNEXT) )
|
||||||
{
|
{
|
||||||
::GetWindowText( hwndChild, szTemp, ARRAYSIZE(szTemp) );
|
::GetWindowText( hwndChild, szTemp, ARRAY_SIZE(szTemp) );
|
||||||
RString s = szTemp;
|
RString s = szTemp;
|
||||||
if( s.empty() )
|
if( s.empty() )
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user