shithub: mc

Download patch

ref: 197b9debf9a958025194fd63c8b992545777a360
parent: 57b18110b46e055acaccd274479c9e73b54b43c5
author: Ori Bernstein <[email protected]>
date: Fri Jun 15 08:20:05 EDT 2012

Actually paint the registers.

    We hid that in a debug block. Oops.

--- a/8/ra.c
+++ b/8/ra.c
@@ -711,11 +711,9 @@
 	    if (!taken[i]) {
 		if (debug) {
 		    locprint(stdout, n);
-		    printf(" ==> ");
-		    n->reg.colour = regmap[i][n->mode];
-		    locprint(stdout, n);
-		    printf("\n");
+		    printf(" ==> %s\n", regnames[regmap[i][n->mode]]);
 		}
+		n->reg.colour = regmap[i][n->mode];
 		found = 1;
 		break;
 	    }