We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9de671 commit af1dd54Copy full SHA for af1dd54
sound/effect.h
@@ -13,7 +13,7 @@ int current_alternative = 0;
13
// num_alternatives == 3 means alt000/, alt001/, alt002/
14
int num_alternatives = 0;
15
16
-constexpr bool PO_isDigit(char s) { return s >= 0 && s <= '9'; }
+constexpr bool PO_isDigit(char s) { return s >= '0' && s <= '9'; }
17
bool isAllDigits(const char* s) {
18
for (;*s;s++) if(!PO_isDigit(*s)) return false;
19
return true;
0 commit comments