shithub: riscv

Download patch

ref: df25791b3394ad62a81c2f1efd413ffc673f6765
parent: eee014146506d9bd66b0e316e463a55a53d9e6e0
author: ppatience0 <ppatience0@gmail.com>
date: Sun May 12 13:46:39 EDT 2013

toppm: multichan converts to RGB24, not RGBV

--- a/sys/src/cmd/jpg/toppm.c
+++ b/sys/src/cmd/jpg/toppm.c
@@ -74,7 +74,7 @@
 		close(fd);
 		ni = memmultichan(i);
 		if(ni == nil)
-			sysfatal("converting image to RGBV: %r");
+			sysfatal("converting image to RGB24: %r");
 		if(i != ni){
 			freememimage(i);
 			i = ni;
--