docs: Fix a few typos

There are small typos in:
- src/demo/fission.c
- src/tests/wide.cpp

Fixes:
- Should read `obliterated` rather than `oblitrated`.
- Should read `range` rather than `reange`.
This commit is contained in:
Tim Gates 2022-06-27 13:17:53 +10:00 committed by nick black
parent d76316cc60
commit ab8590d7b3
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ drop_bricks(struct notcurses* nc, struct ncplane** arr, int arrcount){
// 5 * demodelay total
ns_to_timespec(timespec_to_ns(&demodelay) / arrcount / 2, &iterdelay);
// we've got a range of up to 10% total blocks falling at any given time. they
// accelerate as they fall. [ranges, reange) covers the active range.
// accelerate as they fall. [ranges, range) covers the active range.
int ranges = 0;
int rangee = 0;
const int FALLINGMAX = arrcount < 10 ? 1 : arrcount / 10;

View File

@ -284,7 +284,7 @@ TEST_CASE("Wide") {
}
// If an ncplane is moved atop the right half of a wide glyph, the entire
// glyph should be oblitrated.
// glyph should be obliterated.
SUBCASE("PlaneStompsWideGlyph"){
nccell c = NCCELL_TRIVIAL_INITIALIZER;
char* egc;