mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 18:32:00 +00:00
Support both spellings of gray/grey as palette choice.
This commit is contained in:
parent
7cc1b02b8b
commit
2c8556a5c8
@ -156,7 +156,7 @@ NS_IMETHODIMP nsStdColorPicker::Init(nsIContent *aContent)
|
||||
mNumCols = 10;
|
||||
mColors = sizeof(NosePalette) / sizeof(char *);
|
||||
}
|
||||
else if (palette.EqualsIgnoreCase("gray"))
|
||||
else if (palette.EqualsIgnoreCase("gray") || palette.EqualsIgnoreCase("grey"))
|
||||
{
|
||||
printf("gray picked\n");
|
||||
mPalette = GrayPalette;
|
||||
|
Loading…
x
Reference in New Issue
Block a user