From 0b374be35214c06bfb29bb9a565a5cb086c5ec55 Mon Sep 17 00:00:00 2001 From: gambas Date: Thu, 2 Dec 2021 21:28:40 +0100 Subject: [PATCH] Version control: Don't crash when choosing a branch color if the branch name is null. [DEVELOPMENT ENVIRONMENT] * BUG: Version control: Don't crash when choosing a branch color if the branch name is null. --- app/src/gambas3/.src/VersionControl/VersionControl.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/gambas3/.src/VersionControl/VersionControl.module b/app/src/gambas3/.src/VersionControl/VersionControl.module index 9b74058d9..c1a1949fd 100644 --- a/app/src/gambas3/.src/VersionControl/VersionControl.module +++ b/app/src/gambas3/.src/VersionControl/VersionControl.module @@ -770,7 +770,7 @@ Public Sub GetBranchColor(sBranch As String) As Integer Select Case sBranch - Case "master" + Case "master", "" iColor = &H606060 Case Else