home: hub: 9ficl

Download patch

ref: 2170663ab5e98a5572150cb7184dc19810e2f1ab
parent: bc93141f60229656288e32dde780108ec4dd3a7b
author: asau <asau@ficl.sf.net>
date: Sun Sep 12 10:24:15 CDT 2010

Use "0" and "1" as boolean values to avoid conversion.

--- a/softcore/makesoftcore.c
+++ b/softcore/makesoftcore.c
@@ -39,7 +39,7 @@
 void fprintDataAsQuotedString(FILE *f, char *data)
 	{
 	int i;
-	int lineIsBlank = FICL_TRUE;
+	int lineIsBlank = 1; /* true */
 
 	while (*data)
 		{
@@ -47,7 +47,7 @@
 			{
 			if (!lineIsBlank)
 				fprintf(f, "\\n\"\n");
-			lineIsBlank = FICL_TRUE;
+			lineIsBlank = 1; /* true */
 			}
 		else
 			{
@@ -55,7 +55,7 @@
 				{
 				fputc('\t', f);
 				fputc('"', f);
-				lineIsBlank = FICL_FALSE;
+				lineIsBlank = 0; /* false */
 				}
 
 			if (*data == '"')