]> git.mxchange.org Git - simgear.git/commit
#479: avoid issues due to trailing path separators
authorThorstenB <brehmt@gmail.com>
Sun, 18 Dec 2011 16:04:31 +0000 (17:04 +0100)
committerThorstenB <brehmt@gmail.com>
Sun, 18 Dec 2011 16:04:31 +0000 (17:04 +0100)
commit54db2e0ab196b659e4297c0d93f088b2212409f5
treee4ad5d62683d04e68e274473d26ae400c7d99666
parentb261836f7182b5442b464907c8b084bde0bfded3
#479: avoid issues due to trailing path separators
Cut trailing separators when converting from string to sgpath.
Also, SGPath::fix does NOT replace ":". It only replaces "\" with "/",
so the "i!=1" check for Windows made no sense (rule #9: never believe
a source code comment).
simgear/debug/debug_types.h
simgear/misc/sg_path.cxx