mirror of
https://github.com/Soccera1/agg.git
synced 2025-11-04 10:27:33 +01:00
Revert "Replace IsValidNumber with IsBool for int/float query"
This reverts commit 7ad41ef827.
This commit is contained in:
parent
a950c86624
commit
34a6070190
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ int main(void) {
|
|||
printf ("\nWould you like your accuracy as a float or as an int? Type 0 for float or 1 for int.\n");
|
||||
scanf ("%s", input);
|
||||
|
||||
if (isbool(input)) {
|
||||
if (isvalidnumber(input)) {
|
||||
sscanf(input, "%d", &accuracytype);
|
||||
} else {
|
||||
printf ("Error! An invalid character was entered.\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue