Closed
Bug 114334
Opened 23 years ago
Closed 23 years ago
[Xlib] Need port of bug 114255 to Xlib-toolkit
Categories
(Core :: XUL, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla0.9.7
People
(Reporter: roland.mainz, Assigned: roland.mainz)
Details
Attachments
(1 file, 1 obsolete file)
1.03 KB,
patch
|
Details | Diff | Splinter Review |
Need a port of patch in bug 114255 ("nsRenderingContextGTK::CreateDrawingSurface
doesn't always call UpdateGC") to Xlib toolkit.
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.7
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Comment on attachment 61032 [details] [diff] [review]
Patch for 2001-11-30-08-trunk
i really wish the logic here
+ if (!((aBounds->width > 0) && (aBounds->height > 0)))
was inverted, but oh well.
Attachment #61032 -
Flags: review+
Comment on attachment 61032 [details] [diff] [review]
Patch for 2001-11-30-08-trunk
Put the brace back up near the "if" to match the rest of the file and that
function.
Do we have to worry about mGC being null after UpdateGC()? I noticed that the
surf->Init() call doesn't check mGC before it uses it.
sr=kin@netscape.com
Attachment #61032 -
Flags: superreview+
Btw, I agree with timeless:
+ if (aBounds->width <= 0 || aBounds->height <= 0)
is much easier to read at a quick glance.
Assignee | ||
Comment 5•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Attachment #61032 -
Attachment is obsolete: true
Assignee | ||
Comment 6•23 years ago
|
||
bz:
Wanna check this "in", please ?
Comment 7•23 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•