mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-18 03:00:36 +02:00
Updates
This commit is contained in:
1 parent
3d223f5a5d
commit
f1f9ed744d
12 files changed
+233
-269
No files matched your search
@@ -39,7 +39,7 @@ int main(int argc, const char** argv)
|
||||
while (std::getline(ifp, buffer))
|
||||
{
|
||||
// Strip trailing whitespace from line
|
||||
const char* end = buffer.c_str() + buffer.length() - 1;
|
||||
const char* end = buffer.c_str() + buffer.length();
|
||||
while (end >= buffer.c_str() && isspace(*end)) {
|
||||
end--;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user