summaryrefslogtreecommitdiff
path: root/client/dvfile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/dvfile.cc')
-rw-r--r--client/dvfile.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/client/dvfile.cc b/client/dvfile.cc
index 7d83255..8caecc0 100644
--- a/client/dvfile.cc
+++ b/client/dvfile.cc
@@ -30,11 +30,12 @@
#include "dv.h"
#include "util.h"
-dvfile::dvfile(Info* i)
+#include "info.h"
+
+dvfile::dvfile()
{
- info = i;
fp = fopen(TEST_MOVIE, "r");
- if(!fp) info->error("Couldn't open %s for reading.", TEST_MOVIE);
+ if(!fp) gInfo::info->error("Couldn't open %s for reading.", TEST_MOVIE);
}
dvfile::~dvfile()