summaryrefslogtreecommitdiff
path: root/widget/nsFilePickerProxy.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-11-20 23:05:25 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-05 19:42:46 +0200
commit6abe7e7914006e6477f41c4d3f418ffd9da2c281 (patch)
tree3bc973d4175a77e409fbb4597bec87ddc202bff2 /widget/nsFilePickerProxy.h
parent7ab66b1c6aac81c0ad8f962686c419f77df23b14 (diff)
downloaduxp-6abe7e7914006e6477f41c4d3f418ffd9da2c281.tar.gz
Issue #1795 - Don't try to pass a dash array of > 16 elements to ExtCreatePen.
According to MSDN documentation, the count of the style array passed to ExtCreatePen is limited to 16. When we call ExtCreatePen with cStyle=17 or more, it simply returns an error and the cairo surface used for printing is getting into an error state, after which nothing further gets printed. Instead of erroring out, this code change returns an unsupported status so that cairo will provide fallback handling for it.
Diffstat (limited to 'widget/nsFilePickerProxy.h')
0 files changed, 0 insertions, 0 deletions