[librsvg/wip/aruiz/rust-pixbuf-loader] pixbuf-loader: fix comment about color
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/wip/aruiz/rust-pixbuf-loader] pixbuf-loader: fix comment about color
- Date: Mon, 8 Aug 2022 14:08:03 +0000 (UTC)
commit f435dccd3b6772e5044caadef34aa7815621392c
Author: Alberto Ruiz <aruiz redhat com>
Date: Mon Aug 8 15:07:54 2022 +0100
pixbuf-loader: fix comment about color
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]