forked from lix-project/lix
* `helpText' is now zero-terminated.
This commit is contained in:
parent
21b134b4e5
commit
fefd467539
|
@ -70,7 +70,7 @@ typedef void (* Operation) (Globals & globals,
|
|||
|
||||
void printHelp()
|
||||
{
|
||||
cout << string((char *) helpText, sizeof helpText);
|
||||
cout << string((char *) helpText);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ using namespace nix;
|
|||
|
||||
void printHelp()
|
||||
{
|
||||
std::cout << string((char *) helpText, sizeof helpText);
|
||||
std::cout << string((char *) helpText);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ using namespace nix;
|
|||
|
||||
void printHelp()
|
||||
{
|
||||
std::cout << string((char *) helpText, sizeof helpText);
|
||||
std::cout << string((char *) helpText);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ typedef void (* Operation) (Strings opFlags, Strings opArgs);
|
|||
|
||||
void printHelp()
|
||||
{
|
||||
cout << string((char *) helpText, sizeof helpText);
|
||||
cout << string((char *) helpText);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -765,7 +765,7 @@ void run(Strings args)
|
|||
|
||||
void printHelp()
|
||||
{
|
||||
std::cout << string((char *) helpText, sizeof helpText);
|
||||
std::cout << string((char *) helpText);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue