Make c4group build again

Nicolas Hake 2009-05-09 22:13:24 +02:00
parent 4b37749a62
commit 64c5c34cb8
3 changed files with 298 additions and 865 deletions

View File

@ -19,6 +19,8 @@
#ifndef INC_C4InputValidation
#define INC_C4InputValidation
#include "StdBuf.h"
namespace C4InVal
{
// validation options

File diff suppressed because it is too large Load Diff

View File

@ -368,7 +368,7 @@ int RegisterShellExtensions()
}
// Directories
const char *strClasses2 = "Directory";
for (i = 0; SCopySegment(strClasses2, i, strClass); i++)
for (int i = 0; SCopySegment(strClasses2, i, strClass); i++)
{
// Pack
sprintf(strCommand, "\"%s\" \"%%1\" \"-p\"", strModule);
@ -396,7 +396,7 @@ int UnregisterShellExtensions()
}
// Directories
const char *strClasses2 = "Directory";
for (i = 0; SCopySegment(strClasses2, i, strClass); i++)
for (int i = 0; SCopySegment(strClasses2, i, strClass); i++)
{
// Pack
if (!RemoveRegShell(strClass, "MakeGroupFile")) return 0;