Initializacia
This commit is contained in:
parent
eccfb157bf
commit
b5fbf7414e
@ -28,7 +28,12 @@ char hacker_script(char l) {
|
||||
|
||||
void transform_to_hacker_script(const char *src, char *dest) {
|
||||
while (*src) {
|
||||
*dest++ = hacker_script(*src++);
|
||||
if (isupper(*src)) {
|
||||
*dest++ = tolower(*src);
|
||||
} else {
|
||||
*dest++ = hacker_script(*src);
|
||||
}
|
||||
src++;
|
||||
}
|
||||
*dest = '\0';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user