Bug 361494 NS_ASSERTION of gfxPlatformGtk::IsExistingFont has wrong condition r=vlad

git-svn-id: svn://10.0.0.236/trunk@215734 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
masayuki%d-toybox.com
2006-11-23 02:01:36 +00:00
parent e7f59d3992
commit 76f4b7f7d0
2 changed files with 2 additions and 2 deletions

View File

@@ -395,7 +395,7 @@ gfxBeOSPlatform::IsExistingFont(const nsACString &aFontName)
goto end;
result = fs->nfont;
NS_ASSERTION(result == 1, "What's this case?");
NS_ASSERTION(result == 0 || result == 1, "What's this case?");
if (result > 0)
mAliasForSingleFont.AppendCString(aFontName);

View File

@@ -555,7 +555,7 @@ gfxPlatformGtk::IsExistingFont(const nsACString &aFontName)
goto end;
result = fs->nfont;
NS_ASSERTION(result == 1, "What's this case?");
NS_ASSERTION(result == 0 || result == 1, "What's this case?");
if (result > 0)
mAliasForSingleFont.AppendCString(aFontName);