This commit is contained in:
Kovid Goyal 2007-10-07 20:20:36 +00:00
parent b1dea424fe
commit 3f0099a2e1

View File

@ -119,7 +119,7 @@ def lrs_color(html_color):
if match:
return '0x00'+hex(int(match.group(1)))[2:]+hex(int(match.group(2)))[2:]+hex(int(match.group(3)))[2:]
if hcol in NAME_MAP:
return NAME_MAP[hcol]
return NAME_MAP[hcol].replace('#', '0x00')
return '0x00000000'