* Fixed a variable name (from fname -> font_name as fname was not set!)
This commit is contained in:
parent
dd98d061ce
commit
a19bf59351
@ -79,7 +79,6 @@ _font_attribs = [field[0] for field in win32structures.LOGFONTW._fields_]
|
|||||||
def CompareToRefFontTest(windows):
|
def CompareToRefFontTest(windows):
|
||||||
"Compare the font to the font of the reference control"
|
"Compare the font to the font of the reference control"
|
||||||
|
|
||||||
|
|
||||||
bugs = []
|
bugs = []
|
||||||
for win in windows:
|
for win in windows:
|
||||||
# if no reference then skip the control
|
# if no reference then skip the control
|
||||||
@ -100,7 +99,7 @@ def CompareToRefFontTest(windows):
|
|||||||
bugs.append((
|
bugs.append((
|
||||||
[win, ],
|
[win, ],
|
||||||
{
|
{
|
||||||
"ValueType": fname,
|
"ValueType": font_attrib,
|
||||||
"Ref": unicode(ref_value),
|
"Ref": unicode(ref_value),
|
||||||
"Loc": unicode(loc_value),
|
"Loc": unicode(loc_value),
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user