about summary refs log tree commit diff stats
path: root/adapter
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-02-09 17:52:41 +0100
committerbptato <nincsnevem662@gmail.com>2024-02-09 17:54:32 +0100
commit7badcc1f952c085c6a73e2dbe3aa5a460d7be8b0 (patch)
tree0b6cdc9c1895329946df9f21508ee1539c2cfc57 /adapter
parent431fd101705146f2d4baaa1a4a139adf356188ab (diff)
downloadchawan-7badcc1f952c085c6a73e2dbe3aa5a460d7be8b0.tar.gz
twtstr: misc refactorings
* move out half width <-> full width converters
* snake_case -> camelCase
* improve toScreamingSnakeCase slicing
Diffstat (limited to 'adapter')
-rw-r--r--adapter/protocol/dirlist.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapter/protocol/dirlist.nim b/adapter/protocol/dirlist.nim
index 33dcc6ab..d0933fed 100644
--- a/adapter/protocol/dirlist.nim
+++ b/adapter/protocol/dirlist.nim
@@ -54,7 +54,7 @@ func makeDirlist*(items: seq[DirlistItem]): string =
       line &= ' '
     line &= htmlEscape(item.modified)
     if item.t == ITEM_FILE:
-      line &= ' ' & convert_size(item.nsize)
+      line &= ' ' & convertSize(item.nsize)
     elif item.t == ITEM_LINK:
       line &= " -> " & htmlEscape(item.linkto)
     outs &= line & '\n'