Skip to content

Commit b74f1ea

Browse files
committed
Doc: Fix typo's in BGT Upgrading document
1 parent c961e34 commit b74f1ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: doc/src/manual/-BGT Upgrading+.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ our goal is to make the transition as seamless as possible from BGT to NVGT, but
99

1010
* Always `#include "bgt_compat.nvgt"` as this includes a lot of aliases to other functions. Using built-in functions may improve performance so this is more or less a stop-gap to get you up and running quickly; however if you wish for your code to just run, bgt_compat will certainly be of use.
1111
* Although a wrapper function is included in the `bgt_compat` header, it's important to note that the `set_sound_storage()` function has been replaced with the `sound_default_pack` global property.
12-
* When refering to an array's length, pass length as a method call and not as a property. ,For example, you would use `array.length();` rather than `a.length;`.
12+
* When refering to an array's length, pass length as a method call and not as a property. For example, you would use `array.length();` rather than `array.length;`.
1313
* The `sound::stream()` method does exist in NVGT, but it's simply an alias to `sound::load()`. For this reason it is recommended that you change all your `stream()` calls to `load()` instead. The load function performs an efficient combination of streaming and preloading by default.
1414
* Take care to check any method calls using the tts_voice object as a few methods such as set_voice have changed from their BGT counterparts.
1515
* When splitting a string, matching against \r\n is advised as BGT handles this differently. This will result in not having spurious line breaks at the ends of split text.

0 commit comments

Comments
 (0)