Bug 305992 - nsIVersionComparator broken in some circumstances (UMR) - patch by Justin Bradford <jabradford@gmail.com> r=shaver+me a=shaver

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179048 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bsmedberg%covad.net
2005-08-26 14:20:50 +00:00
parent 8a387bc3c7
commit 7d7afebeb1
2 changed files with 2 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ interface nsIVersionComparator : nsISupports
* @param B The second version
* @returns < 0 if A < B
* = 0 if A == B
* > 0 if B > A
* > 0 if A > B
*/
long compare(in ACString A, in ACString B);
};

View File

@@ -62,6 +62,7 @@ ParseVP(char *part, VersionPart &result)
char *dot;
if (!part) {
result.numA = 0;
result.strB = nsnull;
result.strBlen = 0;
result.numC = 0;