From ab525b7d2712aa1c912df0d776cdaad06b810e2f Mon Sep 17 00:00:00 2001 From: Bixilon Date: Wed, 27 Sep 2023 03:18:02 +0200 Subject: [PATCH] fix some language grammar --- doc/rendering/ReadMe.md | 2 +- .../gui/rendering/font/types/unicode/unihex/SizeOverride.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/rendering/ReadMe.md b/doc/rendering/ReadMe.md index 82a3f7cbe..027e30bac 100644 --- a/doc/rendering/ReadMe.md +++ b/doc/rendering/ReadMe.md @@ -22,7 +22,7 @@ The whole render system gets loaded, as soon as you tell eros to connect to a se Textures that don't get modified anymore (like block textures or items). The textures are stored in 5 dimensional way (2d for x and y coordinates, 1d for the texture index (aka. what texture), 1d for the resolution (like `16x16` or `32x32`) and the last dimension for mipmaps). -Every vertex can have an additional animation id, that is done via a uniform buffer. +Every vertex can have an additional animation id, that is done via an uniform buffer. ### Dynamic textures diff --git a/src/main/java/de/bixilon/minosoft/gui/rendering/font/types/unicode/unihex/SizeOverride.kt b/src/main/java/de/bixilon/minosoft/gui/rendering/font/types/unicode/unihex/SizeOverride.kt index dca37e4a8..74f9ebdcd 100644 --- a/src/main/java/de/bixilon/minosoft/gui/rendering/font/types/unicode/unihex/SizeOverride.kt +++ b/src/main/java/de/bixilon/minosoft/gui/rendering/font/types/unicode/unihex/SizeOverride.kt @@ -29,9 +29,9 @@ data class SizeOverride( val string = this!!.toString() val iterator = string.codePoints().iterator() - if (!iterator.hasNext()) throw IllegalArgumentException("Not a unicode string $this") + if (!iterator.hasNext()) throw IllegalArgumentException("Not an unicode string $this") val code = iterator.nextInt() - if (iterator.hasNext()) throw IllegalArgumentException("Not a unicode string $this") + if (iterator.hasNext()) throw IllegalArgumentException("Not an unicode string $this") return code }