diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-03-05 21:10:37 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-03-05 21:11:06 +0400 |
commit | d5aa12742cef1fd2133eeb23226d1a3c6f98ff21 (patch) | |
tree | b22c3dffcb9ccd73d5c81667b4753cd31812331d /source/blender | |
parent | 8e7ec3652e94f75d6ffe134dcac7fc4cc5c66f89 (diff) |
Don't show branch name on the splash if it's a release branch
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 36ee5eb7110..e5f9aae249d 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -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); |