]> gitweb.hhaalo.de Git - mv_none_space.git/commitdiff
fix spelling error
authorBastian Dehn <hhaalo@arcor.de>
Tue, 16 Jul 2024 12:38:32 +0000 (14:38 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 16 Jul 2024 12:39:07 +0000 (14:39 +0200)
src/rename.c
src/rename.h
tests/rename_tests.c

index 107cb7952ed9caea6d77939db6b0a1b12560a307..f94856323ffebcff5c07ba887e126e10709690cc 100644 (file)
@@ -2,7 +2,7 @@
 #include <string.h>
 #include "rename.h"
 
-void rename_lowwer_str(char* src, char* dst)
+void rename_lower_str(char* src, char* dst)
 {
        rename_str(src, dst);
        int len = strlen(dst);
index c3b0c8c198024a815d1bdee8612a90f5d6a403a7..4d3b8c2512316dde729e360cf1e6d962f1dd242d 100644 (file)
@@ -3,7 +3,7 @@
 
 #define STR_MAX_LENGTH 255
 
-void rename_lowwer_str(char* src, char* dst);
+void rename_lower_str(char* src, char* dst);
 void rename_str(char* src, char* dst);
 
 #endif
\ No newline at end of file
index c072e8fd1ef13dd015dd083d4842a31b52f6223e..5a7693bedcec68c1b1157e2bbab9ddff86494f2d 100644 (file)
@@ -112,7 +112,7 @@ void rename_lower_case(void **state)
        char* output = (char*) *state;
        char* input = "Gruß Gott, hat der Biergarten offen?";
 
-       rename_lowwer_str(input, output);
+       rename_lower_str(input, output);
 
        assert_string_equal(output, "gruss_gott,_hat_der_biergarten_offen?");
 }