shithub: prez

Download patch

ref: 8d3156dba0a65a232a063eb45d82c3c67d55c17b
parent: c8205b1d9bbe11632b2468246f0d6c8cfa26a9a5
author: qwx <qwx@sciops.net>
date: Sat Dec 4 18:10:23 EST 2021

swap buttons for palette edits

--- a/prez.c
+++ b/prez.c
@@ -530,12 +530,12 @@
 			ink = col;
 			drawpal();
 			break;
-		case 4:
+		case 2:
 			back = col;
 			drawpal();
 			update(nil);
 			break;
-		case 2:
+		case 4:
 			snprint(buf, sizeof(buf), "%06x", c64[i]);
 			if(eenter("Hex", buf, sizeof(buf), &m) == 6){
 				c = strtoll(buf, &e, 16);