summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2014-11-11 19:56:05 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2014-11-11 19:56:05 +0100
commit9a52f59fc546d509dc1a859c6cce92f99e31f46d (patch)
tree2095b7fcc079d78b91d298a3913508bfd69489da /util.h
parenta855f803fd27af9ec1d19c5d7444ef0ad3d91b0b (diff)
code style, use actual column width of char
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index db9ef4c..429d0a5 100644
--- a/util.h
+++ b/util.h
@@ -1,5 +1,7 @@
#include <time.h>
+#define ISUTF8(c) (((c) & 0xc0) != 0x80)
+
/* feed info */
struct feed {
char *name; /* feed name */