MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / SkipNewLine

Method SkipNewLine

src/openrct2/localisation/LanguagePack.cpp:163–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 }
162
163 static void SkipNewLine(IStringReader* reader)
164 {
165 codepoint_t codepoint;
166 while (reader->TryPeek(&codepoint))
167 {
168 if (IsNewLine(codepoint))
169 {
170 reader->Skip();
171 }
172 else
173 {
174 break;
175 }
176 }
177 }
178
179 static void SkipToEndOfLine(IStringReader* reader)
180 {

Callers

nothing calls this directly

Calls 2

TryPeekMethod · 0.80
SkipMethod · 0.45

Tested by

no test coverage detected