summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-01-27 16:01:01 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-01-27 16:01:01 +0100
commitbb0235f7d8db0c0ea814118593da973609352089 (patch)
treea1a34e1315c169beb62cc7efd0d00737055e614c
parentff183e701599e6ca44f5fa78b60948f87a08a133 (diff)
downloadfastd-bb0235f7d8db0c0ea814118593da973609352089.tar
fastd-bb0235f7d8db0c0ea814118593da973609352089.zip
options: make definition of "spaces" more readable
-rw-r--r--src/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.c b/src/options.c
index f9a147a..7175c20 100644
--- a/src/options.c
+++ b/src/options.c
@@ -34,7 +34,7 @@
static void print_usage(const char *options, const char *message) {
/* 28 spaces */
- static const char spaces[] = " ";
+ static const char spaces[] = {[0 ... 27] = ' ', [28] = 0};
int len = strlen(options);