mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
typos
This commit is contained in:
parent
638e46d489
commit
f5f0c5ad83
@ -93,7 +93,7 @@ attach(const char *filename, HANDLE handle, ios::openmode mode) {
|
||||
void IFileStream::
|
||||
attach(const char *filename, int fd, ios::openmode mode) {
|
||||
clear((ios_iostate)0);
|
||||
_buf.attach(filename, handle, mode);
|
||||
_buf.attach(filename, fd, mode);
|
||||
if (!_buf.is_open()) {
|
||||
clear(ios::failbit);
|
||||
}
|
||||
@ -190,7 +190,7 @@ attach(const char *filename, HANDLE handle, ios::openmode mode) {
|
||||
void OFileStream::
|
||||
attach(const char *filename, int fd, ios::openmode mode) {
|
||||
clear((ios_iostate)0);
|
||||
_buf.attach(filename, handle, mode);
|
||||
_buf.attach(filename, fd, mode);
|
||||
if (!_buf.is_open()) {
|
||||
clear(ios::failbit);
|
||||
}
|
||||
@ -287,7 +287,7 @@ attach(const char *filename, HANDLE handle, ios::openmode mode) {
|
||||
void FileStream::
|
||||
attach(const char *filename, int fd, ios::openmode mode) {
|
||||
clear((ios_iostate)0);
|
||||
_buf.attach(filename, handle, mode);
|
||||
_buf.attach(filename, fd, mode);
|
||||
if (!_buf.is_open()) {
|
||||
clear(ios::failbit);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user