fix whitespace formatting

This commit is contained in:
Roland W-H 2022-11-19 16:55:05 +00:00
parent bb0a1a5eef
commit 1a8f4bbd90
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@
/* /*
* For built in C mod operator (%) -1 % 26 == -1 * For built in C mod operator (%) -1 % 26 == -1
* For the requirements of this algorithm -1 mod 26 == 25 is required * For the requirements of this algorithm -1 mod 26 == 25 is required
* The below functions accomplish this * The below functions accomplish this
*/ */
@ -33,8 +33,8 @@ inline int fast_mod(int a, int b)
/* /*
* 65 - 90 = ASCII 'A' - 'Z' * 65 - 90 = ASCII 'A' - 'Z'
* 97 - 122 = ASCII 'a' - 'z' * 97 - 122 = ASCII 'a' - 'z'
*/ */
inline bool isupper(char c) inline bool isupper(char c)

View File

@ -36,7 +36,7 @@ char* dyninput_str(int_least64_t maxsize)
c = (char)getchar(); c = (char)getchar();
if (i + 1 == size) if (i + 1 == size)
{ {
char* tmp = realloc(str, size + 1); char* tmp = realloc(str, size + 1);
if (!tmp) if (!tmp)
{ {
puts("Error (re)allocating memory!"); puts("Error (re)allocating memory!");