Skip to content

Commit b6969c3

Browse files
committed
hammer: stricmp -> V_stricmp for performance
1 parent 8ba487a commit b6969c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hammer/runcommands.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,9 @@ bool RunCommands(CCommandArray& Commands, LPCTSTR pszOrigDocName, CWnd *parent)
382382
RemoveQuotes(ppParms[1], V_strlen(ppParms[1]));
383383
RemoveQuotes(ppParms[2], V_strlen(ppParms[2]));
384384

385+
// dimhotepus: stricmp -> V_stricmp for performance.
385386
// don't copy if we're already there
386-
if (stricmp(ppParms[1], ppParms[2]) != 0 &&
387+
if (V_stricmp(ppParms[1], ppParms[2]) != 0 &&
387388
(!CopyFile(ppParms[1], ppParms[2], FALSE)))
388389
{
389390
bError = TRUE;

0 commit comments

Comments
 (0)