summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-05-31 14:13:42 -0400
committerJune McEnroe <june@causal.agency>2020-05-31 14:13:42 -0400
commitdc4a8ab8197d1d90224b16edae3f7dd9830be672 (patch)
tree1886de2e25bdcd4ccf1eaeb6c2e87fcceb3f4b69
parentAdd c script to README (diff)
downloadsrc-dc4a8ab8197d1d90224b16edae3f7dd9830be672.tar.gz
src-dc4a8ab8197d1d90224b16edae3f7dd9830be672.zip
Add %c conversion to c script
Diffstat (limited to '')
-rw-r--r--bin/c.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/c.sh b/bin/c.sh
index f3e651ba..153a2f94 100644
--- a/bin/c.sh
+++ b/bin/c.sh
@@ -49,6 +49,7 @@ if [ -n "${expr:-}" ]; then
 	printf(
 		_Generic(
 			${expr},
+			char: "%c\n",
 			char *: "%s\n",
 			wchar_t *: "%ls\n",
 			signed char: "%hhd\n",