Fix VC8 macro redef warning. (DONE!)
This commit is contained in:
@@ -117,7 +117,7 @@ namespace VDDebugInfo
|
||||
|
||||
pctx->sRawBlock = RString();
|
||||
pctx->pRVAHeap = NULL;
|
||||
GetVDIPath( pctx->sFilename, ARRAYSIZE(pctx->sFilename) );
|
||||
GetVDIPath( pctx->sFilename, ARRAY_SIZE(pctx->sFilename) );
|
||||
pctx->sError = RString();
|
||||
|
||||
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;
|
||||
|
||||
{
|
||||
::GetWindowText( hdlg, szTemp, ARRAYSIZE(szTemp) );
|
||||
::GetWindowText( hdlg, szTemp, ARRAY_SIZE(szTemp) );
|
||||
RString s = szTemp;
|
||||
sGroup = "Dialog-"+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) )
|
||||
{
|
||||
::GetWindowText( hwndChild, szTemp, ARRAYSIZE(szTemp) );
|
||||
::GetWindowText( hwndChild, szTemp, ARRAY_SIZE(szTemp) );
|
||||
RString s = szTemp;
|
||||
if( s.empty() )
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user