summaryrefslogtreecommitdiff
path: root/misc/astrolog/files/patch-charts1.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/astrolog/files/patch-charts1.c')
-rw-r--r--misc/astrolog/files/patch-charts1.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/astrolog/files/patch-charts1.c b/misc/astrolog/files/patch-charts1.c
new file mode 100644
index 000000000000..707385e7fe03
--- /dev/null
+++ b/misc/astrolog/files/patch-charts1.c
@@ -0,0 +1,20 @@
+--- charts1.c.bak 1998-12-23 23:29:26.000000000 +0300
++++ charts1.c 2007-06-23 16:28:33.000000000 +0400
+@@ -53,7 +53,7 @@
+ char sz[cchSzDef];
+ int day, fNam, fLoc;
+
+- fNam = *ciMain.nam > chNull; fLoc = *ciMain.loc > chNull;
++ fNam = *ciMain.nam != chNull; fLoc = *ciMain.loc != chNull;
+ AnsiColor(kWhite);
+ sprintf(sz, "%s %s chart ", szAppName, szVersionCore); PrintSz(sz);
+ if (fNoTimeOrSpace)
+@@ -83,7 +83,7 @@
+ real rT;
+
+ CreateElemTable(&et);
+- fNam = *ciMain.nam > chNull; fLoc = *ciMain.loc > chNull;
++ fNam = *ciMain.nam != chNull; fLoc = *ciMain.loc != chNull;
+
+ PrintHeader(); /* Show time and date of the chart being displayed. */
+