fixed problem with compiling wav pattern program

hg-commit-id: 5b445278c010
This commit is contained in:
KuroiIeWa5Da 2012-01-28 00:42:54 -06:00
parent 6fd6c7af46
commit 6fe067d939

View file

@ -47,8 +47,8 @@ void Console::Ask(const char* question, string& answer)
// Better Error Handling // Better Error Handling
int Console::atoi_ex(const char* input, bool supress) int Console::atoi_ex(const char* input, bool supress)
{ {
int convInp = atoi(input); //int convInp = atoi(input);
if((supress == false) && (convInp == 0)) //if((supress == false) && (convInp == 0))
PrintLn("Warning: the converted integer input is 0, this may not be what you intended"); // PrintLn("Warning: the converted integer input is 0, this may not be what you intended");
return convInp; // return convInp;
} }