ALL: Fix a few typos
svn-id: r54716
This commit is contained in:
parent
a17c07bcaa
commit
d5a4f554af
2 changed files with 2 additions and 2 deletions
|
@ -288,7 +288,7 @@ extern char *trim(char *t);
|
||||||
Common::String lastPathComponent(const Common::String &path, const char sep);
|
Common::String lastPathComponent(const Common::String &path, const char sep);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Normalize a gien path to a canonical form. In particular:
|
* Normalize a given path to a canonical form. In particular:
|
||||||
* - trailing separators are removed: /foo/bar/ -> /foo/bar
|
* - trailing separators are removed: /foo/bar/ -> /foo/bar
|
||||||
* - double separators (= empty components) are removed: /foo//bar -> /foo/bar
|
* - double separators (= empty components) are removed: /foo//bar -> /foo/bar
|
||||||
* - dot components are removed: /foo/./bar -> /foo/bar
|
* - dot components are removed: /foo/./bar -> /foo/bar
|
||||||
|
|
|
@ -605,7 +605,7 @@ void SoundMidiPC::loadSoundFile(Common::String file) {
|
||||||
if (!_vm->resource()->exists(file.c_str()))
|
if (!_vm->resource()->exists(file.c_str()))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// When loading a new file we stopp all notes
|
// When loading a new file we stop all notes
|
||||||
// still running on our own, just to prevent
|
// still running on our own, just to prevent
|
||||||
// glitches
|
// glitches
|
||||||
for (int i = 0; i < 16; ++i)
|
for (int i = 0; i < 16; ++i)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue