aboutsummaryrefslogtreecommitdiffstats
path: root/src/u_prints.go
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-05 11:31:50 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-05 11:31:50 +0200
commit75f55585aaeaa7bd9fcf2ec144ee8e890128a32a (patch)
treecf049b898b6fad321cdc057758a49d567135d837 /src/u_prints.go
parentMan update (diff)
downloadgo2work-75f55585aaeaa7bd9fcf2ec144ee8e890128a32a.tar.gz
go2work-75f55585aaeaa7bd9fcf2ec144ee8e890128a32a.tar.bz2
go2work-75f55585aaeaa7bd9fcf2ec144ee8e890128a32a.tar.xz
go2work-75f55585aaeaa7bd9fcf2ec144ee8e890128a32a.tar.zst
go2work-75f55585aaeaa7bd9fcf2ec144ee8e890128a32a.zip
Added README.org
Diffstat (limited to 'src/u_prints.go')
-rw-r--r--src/u_prints.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/u_prints.go b/src/u_prints.go
index 3831d6b..c2e98b0 100644
--- a/src/u_prints.go
+++ b/src/u_prints.go
@@ -58,6 +58,7 @@ func print_time(t [3]byte) {
func print_time_left(curr_t [3]byte, dest_t [3]byte) {
var left_secs uint
+ curr_t = get_time()
curr_secs := time_to_seconds(curr_t)
dest_secs := time_to_seconds(dest_t)
if curr_secs <= dest_secs {
@@ -111,7 +112,6 @@ func print_version() {
}
func print_fortune_not_found() {
- fmt.Print("\n\n")
log.Println("beware, fortune is set on but was not found")
}