wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit abefbf048dc4172644b578d97620a04ca400dbee
parent 6639d9d02f0d8c9caffac051377d3e0e17bba6a6
Author: Kris Maglione <kris@suckless.org>
Date:   Fri,  4 Jun 2010 18:15:11 -0400

[libstuff] Fix nsec().

Diffstat:
lib/libstuff/util/nsec.c | 2+-
lib/libwmii_hack/Makefile | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/libstuff/util/nsec.c b/lib/libstuff/util/nsec.c @@ -8,6 +8,6 @@ nsec(void) { struct timeval tv; gettimeofday(&tv, nil); - return (uvlong)tv.tv_sec * 1000000000 + (uvlong)tv.tv_sec * 1000; + return (uvlong)tv.tv_sec * 1000000000 + (uvlong)tv.tv_usec * 1000; } diff --git a/lib/libwmii_hack/Makefile b/lib/libwmii_hack/Makefile @@ -9,8 +9,8 @@ SOLDFLAGS += $(LIBX11) TARG = libwmii_hack # Can't just link libstuff here. We need PIC objects. OBJ = hack \ - ../libstuff/util/getbase \ - ../libstuff/util/getlong \ + ../libstuff/util/getbase \ + ../libstuff/util/getlong \ ../libstuff/util/tokenize include $(ROOT)/mk/so.mk