summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-05 15:56:46 -0500
committerJune McEnroe <june@causal.agency>2020-12-05 15:56:46 -0500
commitb0a0c2316d7c8b3e19fed0fc244e7b6bd544c6ea (patch)
tree901c1610eee665b186b4dca7c48283a44102af24
parentDisable mouse in htop (diff)
downloadsrc-b0a0c2316d7c8b3e19fed0fc244e7b6bd544c6ea.tar.gz
src-b0a0c2316d7c8b3e19fed0fc244e7b6bd544c6ea.zip
Handle const strings in c -e
-rw-r--r--bin/c.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/c.sh b/bin/c.sh
index 153a2f94..6d2b6b35 100644
--- a/bin/c.sh
+++ b/bin/c.sh
@@ -51,7 +51,9 @@ if [ -n "${expr:-}" ]; then
 			${expr},
 			char: "%c\n",
 			char *: "%s\n",
+			const char *: "%s\n",
 			wchar_t *: "%ls\n",
+			const wchar_t *: "%ls\n",
 			signed char: "%hhd\n",
 			short: "%hd\n",
 			int: "%d\n",