mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -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::
|
void IFileStream::
|
||||||
attach(const char *filename, int fd, ios::openmode mode) {
|
attach(const char *filename, int fd, ios::openmode mode) {
|
||||||
clear((ios_iostate)0);
|
clear((ios_iostate)0);
|
||||||
_buf.attach(filename, handle, mode);
|
_buf.attach(filename, fd, mode);
|
||||||
if (!_buf.is_open()) {
|
if (!_buf.is_open()) {
|
||||||
clear(ios::failbit);
|
clear(ios::failbit);
|
||||||
}
|
}
|
||||||
@ -190,7 +190,7 @@ attach(const char *filename, HANDLE handle, ios::openmode mode) {
|
|||||||
void OFileStream::
|
void OFileStream::
|
||||||
attach(const char *filename, int fd, ios::openmode mode) {
|
attach(const char *filename, int fd, ios::openmode mode) {
|
||||||
clear((ios_iostate)0);
|
clear((ios_iostate)0);
|
||||||
_buf.attach(filename, handle, mode);
|
_buf.attach(filename, fd, mode);
|
||||||
if (!_buf.is_open()) {
|
if (!_buf.is_open()) {
|
||||||
clear(ios::failbit);
|
clear(ios::failbit);
|
||||||
}
|
}
|
||||||
@ -287,7 +287,7 @@ attach(const char *filename, HANDLE handle, ios::openmode mode) {
|
|||||||
void FileStream::
|
void FileStream::
|
||||||
attach(const char *filename, int fd, ios::openmode mode) {
|
attach(const char *filename, int fd, ios::openmode mode) {
|
||||||
clear((ios_iostate)0);
|
clear((ios_iostate)0);
|
||||||
_buf.attach(filename, handle, mode);
|
_buf.attach(filename, fd, mode);
|
||||||
if (!_buf.is_open()) {
|
if (!_buf.is_open()) {
|
||||||
clear(ios::failbit);
|
clear(ios::failbit);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user