Author: jgardou
Date: Fri Sep 26 12:43:27 2014
New Revision: 64312
URL:
http://svn.reactos.org/svn/reactos?rev=64312&view=rev
Log:
[SPEC2DEF]
- Actually commit what was advertised in r64281
Modified:
trunk/reactos/tools/spec2def/spec2def.c
Modified: trunk/reactos/tools/spec2def/spec2def.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/spec2def/spec2def.c?…
==============================================================================
--- trunk/reactos/tools/spec2def/spec2def.c [iso-8859-1] (original)
+++ trunk/reactos/tools/spec2def/spec2def.c [iso-8859-1] Fri Sep 26 12:43:27 2014
@@ -282,7 +282,7 @@
{
fprintf(file, "\tint retval;\n");
}
- fprintf(file, "\tif(TRACE_ON(relay))\n\t\tDPRINTF(\"%s: %.*s(",
+ fprintf(file, "\tif (TRACE_ON(relay))\n\t\tDPRINTF(\"%s: %.*s(",
pszDllName, pexp->strName.len, pexp->strName.buf);
}
@@ -350,13 +350,13 @@
{
if (pexp->uFlags & FL_RET64)
{
- fprintf(file, "\tif(TRACE_ON(relay))\n\t\t(\"%s: %.*s: retval =
%%\"PRIx64\"\\n\", retval);\n",
+ fprintf(file, "\tif (TRACE_ON(relay))\n\t\tDPRINTF(\"%s: %.*s:
retval = %%\"PRIx64\"\\n\", retval);\n",
pszDllName, pexp->strName.len, pexp->strName.buf);
}
else
{
- fprintf(file, "\tTRACE_(relay)(\"%.*s: retval = 0x%%lx\\n\",
retval);\n",
- pexp->strName.len, pexp->strName.buf);
+ fprintf(file, "\tif (TRACE_ON(relay))\n\t\tDPRINTF(\"%s: %.*s:
retval = 0x%%lx\\n\", retval);\n",
+ pszDllName, pexp->strName.len, pexp->strName.buf);
}
fprintf(file, "\treturn retval;\n}\n\n");
}