<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From upstream: https://chiselapp.com/user/moinejf/repository/abcm2ps/info/61ba7bd35d5ad451

Index: format.c
==================================================================
--- a/format.c
+++ b/format.c
@@ -11,10 +11,11 @@
  * by the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  */
 
 #include &lt;stdlib.h&gt;
+#include &lt;stdbool.h&gt;
 #include &lt;string.h&gt;
 #include &lt;ctype.h&gt;
 
 #include "abcm2ps.h"
 
@@ -1158,17 +1159,17 @@
 				cfmt.fields[0] &amp;= ~(1 &lt;&lt; ('X' - 'A'));
 			return;
 		}
 		if (strcmp(w, "writehistory") == 0) {	/* compatibility */
 			struct SYMBOL *s;
-			int bool;
+			bool boolv;
 			unsigned u;
 
-			bool = get_bool(p);
+			boolv = get_bool(p);
 			for (s = info['I' - 'A']; s != 0; s = s-&gt;next) {
 				u = s-&gt;text[0] - 'A';
-				if (bool)
+				if (boolv)
 					cfmt.fields[0] |= (1 &lt;&lt; u);
 				else
 					cfmt.fields[0] &amp;= ~(1 &lt;&lt; u);
 			}
 			return;
@@ -1215,19 +1216,19 @@
 				else
 					deco['M'] = "lowermordent";
 			}
 			break;
 		case 1:	{			/* %%writefields */
-			int bool;
+			bool boolv;
 			unsigned u;
 
 			q = p;
 			while (*p != '\0' &amp;&amp; !isspace((unsigned char) *p))
 				p++;
 			while (isspace((unsigned char) *p))
 				p++;
-			bool = get_bool(p);
+			boolv = get_bool(p);
 			while (*q != '\0' &amp;&amp; !isspace((unsigned char) *q)) {
 				u = *q - 'A';
 				if (u &lt; 26) {
 					i = 0;
 				} else {
@@ -1235,11 +1236,11 @@
 					if (u &lt; 26)
 						i = 1;
 					else
 						break;	/*fixme: error */
 				}
-				if (bool)
+				if (boolv)
 					cfmt.fields[i] |= (1 &lt;&lt; u);
 				else
 					cfmt.fields[i] &amp;= ~(1 &lt;&lt; u);
 				q++;
 			}

</pre></body></html>