Author: sginsberg
Date: Mon Aug 3 19:08:45 2009
New Revision: 42367
URL:
http://svn.reactos.org/svn/reactos?rev=42367&view=rev
Log:
- Make symdump and ctm msvc-aware
Modified:
trunk/rosapps/applications/devutils/symdump/symdump.c
trunk/rosapps/applications/sysutils/ctm/ctm.c
Modified: trunk/rosapps/applications/devutils/symdump/symdump.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/symd…
==============================================================================
--- trunk/rosapps/applications/devutils/symdump/symdump.c [iso-8859-1] (original)
+++ trunk/rosapps/applications/devutils/symdump/symdump.c [iso-8859-1] Mon Aug 3 19:08:45
2009
@@ -807,6 +807,7 @@
{
IMAGEHLP_STACK_FRAME sf;
BOOL bRet;
+ INT NumLocals = 0; // the number of local variables found
sf.InstructionOffset = pSymInfo->Address;
@@ -821,8 +822,6 @@
printf("Address == 0x%x, ReturnOffset = 0x%x", (UINT)pSymInfo->Address,
(UINT)sf.ReturnOffset);
// Enumerate local variables
-
- INT NumLocals = 0; // the number of local variables found
bRet = SymEnumSymbols(pei->hProcess, 0, 0, EnumParamsProc, &NumLocals);
Modified: trunk/rosapps/applications/sysutils/ctm/ctm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/sysutils/ctm/…
==============================================================================
--- trunk/rosapps/applications/sysutils/ctm/ctm.c [iso-8859-1] (original)
+++ trunk/rosapps/applications/sysutils/ctm/ctm.c [iso-8859-1] Mon Aug 3 19:08:45 2009
@@ -277,10 +277,11 @@
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)