summaryrefslogtreecommitdiff
path: root/astro/starplot/files/patch-src_convert_convert.cc
blob: a9840f45329e460c70ae0f7785941ad6044cafb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/convert/convert.cc.orig	2008-04-14 18:19:13 UTC
+++ src/convert/convert.cc
@@ -64,7 +64,7 @@ available on the StarPlot web page, you 
 in that package for more information.") << endl << endl;
 
   do {
-    moredata = infile.getline(record, 999, '\n');
+    moredata = (bool)infile.getline(record, 999, '\n');
     record[999] = 0;
 
     // $ ; and , have special meanings to StarPlot, so purge them: