This commit is contained in:
Unknwon 2014-11-25 23:05:43 -05:00
parent 515641d033
commit a43164877c
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting" "github.com/gogits/gogs/modules/setting"
) )
const APP_VER = "0.5.8.1124 Beta" const APP_VER = "0.5.8.1125 Beta"
func init() { func init() {
runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GOMAXPROCS(runtime.NumCPU())

View File

@ -62,7 +62,7 @@ func Commits(ctx *middleware.Context) {
lastPage = 0 lastPage = 0
} }
nextPage := page + 1 nextPage := page + 1
if nextPage*50 > commitsCount { if page*50 > commitsCount {
nextPage = 0 nextPage = 0
} }

View File

@ -1 +1 @@
0.5.8.1124 Beta 0.5.8.1125 Beta