aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--config.mk4
-rw-r--r--mongotimer.14
-rw-r--r--mongotimer.c3
4 files changed, 7 insertions, 6 deletions
diff --git a/README b/README
index 7143d46..aa91deb 100644
--- a/README
+++ b/README
@@ -10,7 +10,7 @@ DESCRIPTION
is specified, it will count down from that time.
Pressing space will pause the timer/stopwatch,
- and the time be displayed in yellow will
+ and the time be displayed in yellow while
paused. Pressing space again will unpause the
timer/stopwatch.
diff --git a/config.mk b/config.mk
index f262b1e..0a41201 100644
--- a/config.mk
+++ b/config.mk
@@ -1,8 +1,8 @@
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
-CC = cc
+CC = c99
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
-CFLAGS = -std=c99 -Wall -O2
+CFLAGS =
LDFLAGS = -s
diff --git a/mongotimer.1 b/mongotimer.1
index ae76660..3d57a0c 100644
--- a/mongotimer.1
+++ b/mongotimer.1
@@ -12,7 +12,7 @@ display time since it started. If a time is
specified, it will count down from that time.
.PP
Pressing space will pause the timer/stopwatch,
-and the time be displayed in yellow will paused.
+and the time be displayed in yellow while paused.
Pressing space again will unpause the
timer/stopwatch.
.PP
@@ -32,7 +32,7 @@ alarm-clock. If the font is not big enough for
your (or if it is too large,) just change the
font size on your terminal. If it is not the
right colour for you, simply change the font
-colour on your terminal
+colour on your terminal.
.SH OPTIONS
The
.B mongotimer
diff --git a/mongotimer.c b/mongotimer.c
index 7fefb51..04b1f2a 100644
--- a/mongotimer.c
+++ b/mongotimer.c
@@ -368,7 +368,8 @@ main(int argc, char *argv[])
int timerfd = -1, old_flags = -1, tcset = 0;
int exit_on_zero = 0, old_sig = 0;
struct sigaction sigact;
- int64_t time = 0, t = 0, owner_set = 0;
+ int64_t time = 0, t = 0;
+ int owner_set = 0;
size_t colons = 0;
char *s;
struct f_owner_ex old_owner, new_owner;