diff options
Diffstat (limited to 'go-src/windows.go')
| -rw-r--r-- | go-src/windows.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/go-src/windows.go b/go-src/windows.go index afc4e77..70da48c 100644 --- a/go-src/windows.go +++ b/go-src/windows.go @@ -5,7 +5,6 @@ import ( "strings" "gitlab.com/Syndamia/ctfc/go-src/csi" - ctfcmath "gitlab.com/Syndamia/ctfc/go-src/ctfcMath" "gitlab.com/Syndamia/ctfc/go-src/ui" "gitlab.com/Syndamia/ctfc/go-src/utils" ) @@ -115,7 +114,7 @@ func chatsWindow(values ...string) { // If user input is number, navigate to chat of given number, else show error chatI, err := strconv.Atoi(input) if chatI >= 0 && chatI <= len(allChats) && err == nil { - defer chatWindow(strings.Split(allChats[ctfcmath.MaxInt(len(allChats)-pageSize*len(values[0]), 0)+chatI-1], " : ")[0]) + defer chatWindow(strings.Split(allChats[utils.MaxInt(len(allChats)-pageSize*len(values[0]), 0)+chatI-1], " : ")[0]) } else { switch input { case ">": |
