dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 8463439870ce528d18a9890541345d667cd3bee9
parent 5cadb3274c68acc4f3aeec933669ac89cd12fb6f
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed, 14 Jun 2023 06:11:23 -0700

typo

Diffstat:
Mpkg/web/handlers/interceptors/chess.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/web/handlers/interceptors/chess.go b/pkg/web/handlers/interceptors/chess.go @@ -461,7 +461,7 @@ func (g *ChessGame) drawPlayerCard(key string, isBlack, isSpectator, isYourTurn, _ = json.Unmarshal(g.DbChessGame.Stats, &stats) if stats != nil { if len(stats.Scores) > 0 { - columnWidth = utils.MinInt(graphWidth/len(stats.Scores), 1) + columnWidth = utils.MaxInt(graphWidth/len(stats.Scores), 1) } }