projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f379a29
)
[SHELLUTILS] Fix Win32DbgPrint's result
author
Mark Jansen
<mark.jansen@reactos.org>
Sun, 13 Oct 2019 16:05:34 +0000
(18:05 +0200)
committer
Mark Jansen
<mark.jansen@reactos.org>
Sun, 17 May 2020 15:09:05 +0000
(17:09 +0200)
sdk/include/reactos/shellutils.h
patch
|
blob
|
history
diff --git
a/sdk/include/reactos/shellutils.h
b/sdk/include/reactos/shellutils.h
index
8cc51f3
..
82f2f70
100644
(file)
--- a/
sdk/include/reactos/shellutils.h
+++ b/
sdk/include/reactos/shellutils.h
@@
-30,7
+30,6
@@
Win32DbgPrint(const char *filename, int line, const char *lpFormat, ...)
char *szMsgStart;
const char *fname;
va_list vl;
- ULONG uRet;
fname = strrchr(filename, '\\');
if (fname == NULL)
@@
-48,12
+47,13
@@
Win32DbgPrint(const char *filename, int line, const char *lpFormat, ...)
szMsgStart = szMsg + sprintf(szMsg, "%s:%d: ", fname, line);
va_start(vl, lpFormat);
-
uRet = (ULONG)
vsprintf(szMsgStart, lpFormat, vl);
+ vsprintf(szMsgStart, lpFormat, vl);
va_end(vl);
OutputDebugStringA(szMsg);
- return uRet;
+ /* Return STATUS_SUCCESS, since we are supposed to mimic DbgPrint */
+ return 0;
}
#define DbgPrint(fmt, ...) \