Skip to content

Commit bdc6668

Browse files
committed
Change special character as suggested by James Ross
1 parent 60c8b99 commit bdc6668

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Source/Documentation/Manual/physics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4436,7 +4436,7 @@ statement. So, in the case of the example above, instead of::
44364436

44374437
the following can be written::
44384438

4439-
include ( ../##SameName## )
4439+
include ( ../>>SameName<< )
44404440
44414441
This way all additional .wag or .eng files referring to similar trainsets would
44424442
have exactly the same contents, drastically reducing editing time.

Source/Orts.Parsers.Msts/STFReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,7 @@ private string ReadItem(bool skip_mode, bool string_mode)
18281828
SkipRestOfBlock();
18291829
}
18301830
var purefilename = Path.GetFileName(filename).ToLower();
1831-
if (purefilename == "##samename##")
1831+
if (purefilename == ">>samename<<")
18321832
filename = Path.GetDirectoryName(filename) + @"\" + Path.GetFileName(FileName);
18331833
var includeFileName = Path.GetDirectoryName(FileName) + @"\" + filename;
18341834
if (!File.Exists(includeFileName))

0 commit comments

Comments
 (0)