summaryrefslogtreecommitdiff
path: root/src/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-20 22:22:01 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-20 22:22:01 +0100
commit6f1af34ae95586281f1632ceb87cc95784ccff28 (patch)
tree3c9b0881e8173786542ea5ddb9330a9ba0fb3691 /src/util.cc
parent5a77646bf70c5fdfc39210035a7c3c3de43e89ed (diff)
Fix bold and newlines (in some cases) in SSA.
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cc b/src/util.cc
index a736a91..a165126 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -59,7 +59,7 @@ sub::get_line_file (FILE* f)
{
char buffer[256];
char* r = fgets (buffer, sizeof (buffer), f);
- if (r == 0 || feof (f)) {
+ if (r == 0) {
return optional<string> ();
}