about summary refs log tree commit diff stats
path: root/src/utils/twtstr.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-01-18 19:45:09 +0100
committerbptato <nincsnevem662@gmail.com>2022-01-18 19:45:14 +0100
commitb4798a6bf5ea4916fa9ccb582f067d5dab5f2fc2 (patch)
tree8ab23d3a607dcd61f22640a9a8d0d95f9c61fe1f /src/utils/twtstr.nim
parentc5375d2a5d45294efa91530c5a0f9d055e09438f (diff)
downloadchawan-b4798a6bf5ea4916fa9ccb582f067d5dab5f2fc2.tar.gz
Implement basics of new layout engine
Diffstat (limited to 'src/utils/twtstr.nim')
-rw-r--r--src/utils/twtstr.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/twtstr.nim b/src/utils/twtstr.nim
index 6d42134b..4b414719 100644
--- a/src/utils/twtstr.nim
+++ b/src/utils/twtstr.nim
@@ -865,6 +865,7 @@ func dakuten*(r: Rune): Rune =
 func handakuten*(r: Rune): Rune =
   if r in CanHaveHandakuten:
     return cast[Rune](cast[int](r) + 2)
+  return r
 
 func nodakuten*(r: Rune): Rune =
   return cast[Rune](cast[int](r) - 1)