From 130d341b3a380ad1f46ca47fd6b059ec1d0b7131 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 1 Jul 2009 19:07:51 +0000 Subject: [PATCH] typo --- direct/src/plugin_standalone/panda3d.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/plugin_standalone/panda3d.cxx b/direct/src/plugin_standalone/panda3d.cxx index 8136e65dbb..aad269e655 100644 --- a/direct/src/plugin_standalone/panda3d.cxx +++ b/direct/src/plugin_standalone/panda3d.cxx @@ -279,7 +279,7 @@ feed_file(P3D_instance *inst, int unique_id, string filename) { } #endif // _WIN32 - ifstream file(filename.c_str(), ios::in || ios::binary); + ifstream file(filename.c_str(), ios::in | ios::binary); // First, seek to the end to get the file size. file.seekg(0, ios::end);