[librsvg/wip/aruiz/rust-pixbuf-loader: 69/69] pixbuf-loader: fix comment about color
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/wip/aruiz/rust-pixbuf-loader: 69/69] pixbuf-loader: fix comment about color
- Date: Tue, 20 Sep 2022 22:44:03 +0000 (UTC)
commit a7879b61ba0fce162ac30434c01ce896997d1533
Author: Alberto Ruiz <aruiz redhat com>
Date: Mon Aug 8 15:07:54 2022 +0100
pixbuf-loader: fix comment about color
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/722>
gdk-pixbuf-loader/src/lib.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk-pixbuf-loader/src/lib.rs b/gdk-pixbuf-loader/src/lib.rs
index 3d0b28c77..40d992e30 100644
--- a/gdk-pixbuf-loader/src/lib.rs
+++ b/gdk-pixbuf-loader/src/lib.rs
@@ -328,7 +328,7 @@ mod tests {
let pixels = gdk_pixbuf_sys::gdk_pixbuf_get_pixels(pb);
- // Upper left pixel, black with full opacity #000000ff
+ // Upper left pixel #aa1144ff
assert_eq!(*pixels, 0xaa);
assert_eq!(*pixels.offset(1), 0x11);
assert_eq!(*pixels.offset(2), 0x44);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]