Commit 6be32708 authored by Jonny Schäfer's avatar Jonny Schäfer
Browse files

go fmt

parent 753b6eaa
......@@ -94,11 +94,11 @@ func logicTrim(trim string) string {
// logicSearch searches for the given video title
func logicSearch(title string) {
upd := func(state int) []*videoContainer {
return videoListSearch(title, strconv.Itoa(state + 1))
return videoListSearch(title, strconv.Itoa(state+1))
}
logicVarLazy = listNew(upd)
logicSearchPage("searching: " + title, 0)
logicSearchPage("searching: "+title, 0)
}
//logicSearchPage searches the title in the given page
......@@ -107,7 +107,7 @@ func logicSearchPage(title string, page int) {
logicVarWindow = logicWindowSearch
logicVarSearch = title
list := logicVarLazy.listSlice(page * logicVarLineCount, (page + 1) * logicVarLineCount)
list := logicVarLazy.listSlice(page*logicVarLineCount, (page+1)*logicVarLineCount)
if list == nil {
cliStatusError("network error: unable to load data")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment