- Make symdump and ctm msvc-aware

svn path=/trunk/; revision=42367
This commit is contained in:
Stefan Ginsberg 2009-08-03 17:08:45 +00:00
parent c9e1afaeda
commit bab8a60b46
2 changed files with 3 additions and 3 deletions

View file

@ -807,6 +807,7 @@ DumpParams(PSYMBOL_INFO pSymInfo, PENUMINFO pei)
{
IMAGEHLP_STACK_FRAME sf;
BOOL bRet;
INT NumLocals = 0; // the number of local variables found
sf.InstructionOffset = pSymInfo->Address;
@ -822,8 +823,6 @@ DumpParams(PSYMBOL_INFO pSymInfo, PENUMINFO pei)
// Enumerate local variables
INT NumLocals = 0; // the number of local variables found
bRet = SymEnumSymbols(pei->hProcess, 0, 0, EnumParamsProc, &NumLocals);
if (!bRet)

View file

@ -277,10 +277,11 @@ void DisplayScreen()
int ProcessKeys(int numEvents)
{
DWORD numChars;
TCHAR key;
if ((ProcessCount-scrolled < 17) && (ProcessCount > 17))
scrolled = ProcessCount-17;
TCHAR key = GetKeyPressed(numEvents);
key = GetKeyPressed(numEvents);
if (key == KEY_QUIT)
return TRUE;
else if (key == KEY_KILL)