git: 9front

Download patch

ref: 596e41ecf62a47d5fa102d7960100a52cfa9a8dd
parent: 4464e9582cea695d60548bfda8148c68a2e58651
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Sun May 12 15:12:21 EDT 2013

writeppm: fix tab/spaces

--- a/sys/src/cmd/jpg/writeppm.c
+++ b/sys/src/cmd/jpg/writeppm.c
@@ -79,7 +79,7 @@
 			}
 		}
 		break;
-	case	GREY8:
+	case GREY8:
 		for(i=0; i<ndata; i++){
 			col += Bprint(fd, "%d", data[i]);
 			if(col >= MAXLINE-(4+1)){
@@ -118,7 +118,7 @@
 		break;
 	case GREY2:
 	case GREY4:
-	case	GREY8:
+	case GREY8:
 		Bprint(fd, "P2\n");
 		break;
 	case RGB24:
@@ -143,7 +143,7 @@
 	case GREY4:
 		Bprint(fd, "%d\n", 15);
 		break;
-	case	GREY8:
+	case GREY8:
 	case RGB24:
 		Bprint(fd, "%d\n", 255);
 		break;
--