mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-23 17:38:44 +00:00
Fixed: #998 bnp_make returns 1 when successful
This commit is contained in:
parent
9e67bcf9a2
commit
60798238e3
1 changed files with 3 additions and 3 deletions
|
@ -359,7 +359,7 @@ int main (int nNbArg, char **ppArgs)
|
||||||
gBNPHeader.OffsetFromBeginning = 0;
|
gBNPHeader.OffsetFromBeginning = 0;
|
||||||
packSubRecurse();
|
packSubRecurse();
|
||||||
gBNPHeader.append (gDestBNPFile);
|
gBNPHeader.append (gDestBNPFile);
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((strcmp(ppArgs[1], "/u") == 0) || (strcmp(ppArgs[1], "/U") == 0) ||
|
if ((strcmp(ppArgs[1], "/u") == 0) || (strcmp(ppArgs[1], "/U") == 0) ||
|
||||||
|
@ -405,7 +405,7 @@ int main (int nNbArg, char **ppArgs)
|
||||||
|
|
||||||
unpack (dirName);
|
unpack (dirName);
|
||||||
|
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((strcmp(ppArgs[1], "/l") == 0) || (strcmp(ppArgs[1], "/L") == 0) ||
|
if ((strcmp(ppArgs[1], "/l") == 0) || (strcmp(ppArgs[1], "/L") == 0) ||
|
||||||
|
@ -450,7 +450,7 @@ int main (int nNbArg, char **ppArgs)
|
||||||
for (i = 0; i < gBNPHeader.Files.size(); ++i)
|
for (i = 0; i < gBNPHeader.Files.size(); ++i)
|
||||||
printf ("%s\n", gBNPHeader.Files[i].Name.c_str());
|
printf ("%s\n", gBNPHeader.Files[i].Name.c_str());
|
||||||
|
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
usage ();
|
usage ();
|
||||||
|
|
Loading…
Reference in a new issue