mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
typo
This commit is contained in:
parent
8c28147996
commit
130d341b3a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user