aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_go2work.go
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-03 13:45:16 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-03 13:45:16 +0200
commit4861d5d761aadb875d9096a6b809f60b5ee9e4e6 (patch)
tree7d22f1a0fe243493d18077e306d1a1064cb40da6 /src/c_go2work.go
parentIts still not working (diff)
downloadgo2work-4861d5d761aadb875d9096a6b809f60b5ee9e4e6.tar.gz
go2work-4861d5d761aadb875d9096a6b809f60b5ee9e4e6.tar.bz2
go2work-4861d5d761aadb875d9096a6b809f60b5ee9e4e6.tar.xz
go2work-4861d5d761aadb875d9096a6b809f60b5ee9e4e6.tar.zst
go2work-4861d5d761aadb875d9096a6b809f60b5ee9e4e6.zip
Caps ffs
Diffstat (limited to '')
-rw-r--r--src/c_go2work.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/c_go2work.go b/src/c_go2work.go
index 3a58f02..e4f40b5 100644
--- a/src/c_go2work.go
+++ b/src/c_go2work.go
@@ -94,11 +94,11 @@ func main() {
log.Fatalln(LOG_FORMAT)
return
}
- if check_media_player(options.media_player) == false {
- log.Fatal("media player (" + options.media_player + ") not found")
+ if check_media_player(options.Media_player) == false {
+ log.Fatal("media player (" + options.Media_player + ") not found")
return
}
- if options.use_fortune == true && check_fortune() == false {
+ if options.Use_fortune == true && check_fortune() == false {
print_fortune_not_found()
}
curr_t = get_time()
@@ -117,21 +117,21 @@ func main() {
var args []string
if file_id > 0 {
args = append(
- options.player_options,
- options.files[file_id],
+ options.Player_options,
+ options.Files[file_id],
)
} else {
args = append(
- options.player_options,
+ options.Player_options,
DEF_FILES()[0],
)
}
has_rang := false
for {
exec_player(
- options.use_fortune,
+ options.Use_fortune,
has_rang,
- options.media_player,
+ options.Media_player,
args...,
)
has_rang = true