b=141317 CopyToLowerCase produces strings with random content
r=jag sr=alecf git-svn-id: svn://10.0.0.236/trunk@120432 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -441,6 +441,8 @@ class CopyToUpperCase
|
||||
char ch = *aSource;
|
||||
if ((ch >= 'a') && (ch <= 'z'))
|
||||
*cp = ch - ('a' - 'A');
|
||||
else
|
||||
*cp = ch;
|
||||
++aSource;
|
||||
++cp;
|
||||
}
|
||||
@@ -535,6 +537,8 @@ class CopyToLowerCase
|
||||
char ch = *aSource;
|
||||
if ((ch >= 'A') && (ch <= 'Z'))
|
||||
*cp = ch + ('a' - 'A');
|
||||
else
|
||||
*cp = ch;
|
||||
++aSource;
|
||||
++cp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user