Closed Bug 251260 Opened 21 years ago Closed 21 years ago

X10-style XBM images do not render properly

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: megabyte, Assigned: megabyte)

References

()

Details

Attachments

(2 files, 1 obsolete file)

XBM images using the X10-style C code (an array of shorts instead of the X11-style array of chars) does not render properly because the values are always assumed to be chars.
Attached patch Patch (obsolete) — Splinter Review
Attachment #153074 - Flags: superreview?(dveditz)
Attachment #153074 - Flags: review?(cbiesinger)
Comment on attachment 153074 [details] [diff] [review] Patch (hmm, that file needs more error checking...) + return NS_OK; please add a comment like "Waiting for more data" + if(!mIsX10 || !hiByte) style of this file is a space between if and '(' (3 times in this patch) I'd like tor to sr this patch
Attachment #153074 - Flags: superreview?(tor)
Attachment #153074 - Flags: superreview?(dveditz)
Attachment #153074 - Flags: review?(cbiesinger)
Attachment #153074 - Flags: review+
Comment on attachment 153074 [details] [diff] [review] Patch >+ if(hiByte) pixel >>= 8; Along with the changes biesi requested, split this into two lines. sr=tor
Attachment #153074 - Flags: superreview?(tor) → superreview+
I don't have CVS access, so somebody else will have to check this in...
Attachment #153074 - Attachment is obsolete: true
Attachment #153242 - Flags: superreview?(tor)
Attachment #153242 - Flags: review?(cbiesinger)
Blocks: 251446
Comment on attachment 153242 [details] [diff] [review] Patch for this and bug 251446 Do not combine changes. sr-
Attachment #153242 - Flags: superreview?(tor) → superreview-
Sorry, I didn't think 2 lines warranted an entire extra patch...
Comment on attachment 153242 [details] [diff] [review] Patch for this and bug 251446 yes, please make a new patch for that bug
Attachment #153242 - Flags: review?(cbiesinger) → review-
tor or biesi, can you check in patch 153174?
Flags: blocking1.8a3?
Flags: blocking1.7.2?
Flags: blocking-aviary1.0RC1?
Flags: blocking-aviary1.0RC1? → blocking-aviary1.0RC1-
checked in, sorry for the delay :(
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Flags: blocking1.7.5? → blocking1.7.5-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: