aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/jot/jot.c
diff options
context:
space:
mode:
authorDiomidis Spinellis <dds@FreeBSD.org>2006-11-06 11:03:43 +0000
committerDiomidis Spinellis <dds@FreeBSD.org>2006-11-06 11:03:43 +0000
commitfee14f30e9ba78d00e6259f720eace5498916a4a (patch)
treeacc1507c0740c0167762909e6826450dca99d3e1 /usr.bin/jot/jot.c
parent1ab8c5be60356b52a241296f6f0d2b1288044b18 (diff)
downloadsrc-fee14f30e9ba78d00e6259f720eace5498916a4a.tar.gz
src-fee14f30e9ba78d00e6259f720eace5498916a4a.zip
Notes
Diffstat (limited to 'usr.bin/jot/jot.c')
-rw-r--r--usr.bin/jot/jot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/jot/jot.c b/usr.bin/jot/jot.c
index bb3073bba105..1464e4d9e583 100644
--- a/usr.bin/jot/jot.c
+++ b/usr.bin/jot/jot.c
@@ -72,7 +72,7 @@ __FBSDID("$FreeBSD$");
#define HAVE_BEGIN 4
#define HAVE_REPS 8
-#define is_default(s) (strcmp((s), "-") == 0)
+#define is_default(s) (*(s) == 0 || strcmp((s), "-") == 0)
double begin;
double ender;