diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-05 18:24:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-05 18:24:23 +0300 |
commit | 35c8306fb26c2989dfff71b9769b1658f34e6afa (patch) | |
tree | 345b7659b541c20068e46aae5125b40458c4970d /src/fs/virtfs/virtfsdirrwops.cpp | |
parent | 0f1ff357b2c24e16ac96ea4650de6deeb9609485 (diff) | |
download | manaverse-35c8306fb26c2989dfff71b9769b1658f34e6afa.tar.gz manaverse-35c8306fb26c2989dfff71b9769b1658f34e6afa.tar.bz2 manaverse-35c8306fb26c2989dfff71b9769b1658f34e6afa.tar.xz manaverse-35c8306fb26c2989dfff71b9769b1658f34e6afa.zip |
Rename virtfsdir into fsdir.
Diffstat (limited to 'src/fs/virtfs/virtfsdirrwops.cpp')
-rw-r--r-- | src/fs/virtfs/virtfsdirrwops.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/virtfs/virtfsdirrwops.cpp b/src/fs/virtfs/virtfsdirrwops.cpp index 692d107cd..f9855e969 100644 --- a/src/fs/virtfs/virtfsdirrwops.cpp +++ b/src/fs/virtfs/virtfsdirrwops.cpp @@ -31,7 +31,7 @@ namespace VirtFs { -namespace VirtFsDir +namespace FsDir { RWOPSINT rwops_seek(SDL_RWops *const rw, const RWOPSINT offset, @@ -88,7 +88,7 @@ namespace VirtFsDir struct stat statbuf; if (fstat(fd, &statbuf) == -1) { - reportAlways("VirtFsDir::fileLength error."); + reportAlways("FsDir::fileLength error."); len = -1; } else @@ -172,7 +172,7 @@ namespace VirtFsDir struct stat statbuf; if (fstat(fd, &statbuf) == -1) { - reportAlways("VirtFsDir::fileLength error."); + reportAlways("FsDir::fileLength error."); return CAST_S32(rc); } #endif // USE_FILE_FOPEN @@ -208,7 +208,7 @@ namespace VirtFsDir struct stat statbuf; if (fstat(fd, &statbuf) == -1) { - reportAlways("VirtFsDir::fileLength error."); + reportAlways("FsDir::fileLength error."); return CAST_S32(rc); } #endif // USE_FILE_FOPEN @@ -243,7 +243,7 @@ namespace VirtFsDir struct stat statbuf; if (fstat(fd, &statbuf) == -1) { - reportAlways("VirtFsDir::fileLength error."); + reportAlways("FsDir::fileLength error."); return -1; } return static_cast<int64_t>(statbuf.st_size); @@ -251,6 +251,6 @@ namespace VirtFsDir } #endif // USE_SDL2 -} // namespace VirtFsDir +} // namespace FsDir } // namespace VirtFs |