Bug 250782 [Xlib] make nsLookAndFeel::GetMetric return 0 if the requested metric

is unknown, like all other look and feel impls
r=roland.mainz@nrubsig.org
This commit is contained in:
cbiesinger%web.de 2004-07-18 12:08:06 +00:00
parent b751c53c83
commit 567507020e

View File

@ -306,7 +306,7 @@ NS_IMETHODIMP nsLookAndFeel::GetMetric(const nsMetricID aID, PRInt32 & aMetric)
aMetric = 3;
break;
default:
aMetric = -1;
aMetric = 0;
res = NS_ERROR_FAILURE;
}
return res;