aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdn.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/sdn.cpp b/sdn.cpp
index ab07d3a..5876cfd 100644
--- a/sdn.cpp
+++ b/sdn.cpp
@@ -353,13 +353,6 @@ fun print (const ncstring &nc, int limit) -> int {
return total_width;
}
-fun compute_width (const wstring &w) -> int {
- int total = 0;
- for (const auto &c : w)
- total += wcwidth (c);
- return total;
-}
-
fun compute_width (const ncstring &nc) -> int {
int total = 0;
for (const auto &c : nc)