Don't show branch name on the splash if it's a release branch

This commit is contained in:
Sergey Sharybin 2014-03-05 23:10:37 +06:00
parent 8e7ec3652e
commit d5aa12742c
1 changed files with 1 additions and 1 deletions

View File

@ -1840,7 +1840,7 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *UNUSED(ar
}
uiDefBut(block, LABEL, 0, hash_buf, U.pixelsize * 494 - hash_width, U.pixelsize * (270 - label_delta), hash_width, UI_UNIT_Y, NULL, 0, 0, 0, 0, NULL);
if (!STREQ(build_branch, "master")) {
if (!STREQ(build_branch, "master") && !strstr(build_branch, "release")) {
char branch_buf[128] = "\0";
int branch_width;
BLI_snprintf(branch_buf, sizeof(branch_buf), "Branch: %s", build_branch);