@ -201,7 +201,7 @@ void changeLetter(char x, char y[], int length, char ptr[])
{
if (x == y[i]-32 || x == y[i] )
if(i ==0)
if(i ==0 && isupper(y[0])!=0)
ptr[i] = x;
}
@ -215,7 +215,7 @@ void changeLetter(char x, char y[], int length, char ptr[])
if (x == y[i]||x == y[i]+32)
if(i == 0)
if(i == 0 && isupper(y[0])!=0)
ptr[i] = x-32;