mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00
fixed problem with compiling wav pattern program
hg-commit-id: 5b445278c010
This commit is contained in:
parent
6fd6c7af46
commit
6fe067d939
|
@ -47,8 +47,8 @@ void Console::Ask(const char* question, string& answer)
|
|||
// Better Error Handling
|
||||
int Console::atoi_ex(const char* input, bool supress)
|
||||
{
|
||||
int convInp = atoi(input);
|
||||
if((supress == false) && (convInp == 0))
|
||||
PrintLn("Warning: the converted integer input is 0, this may not be what you intended");
|
||||
return convInp;
|
||||
//int convInp = atoi(input);
|
||||
//if((supress == false) && (convInp == 0))
|
||||
// PrintLn("Warning: the converted integer input is 0, this may not be what you intended");
|
||||
// return convInp;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue