Cleanup: redundant greater than

This commit is contained in:
Campbell Barton 2018-06-18 17:39:19 +02:00
parent bea779fd78
commit d7122825ec
1 changed files with 1 additions and 1 deletions

View File

@ -627,7 +627,7 @@ static bool is_cursor_visible(const DRWContextState *draw_ctx, Scene *scene, Vie
{
Object *ob = OBACT(view_layer);
View3D *v3d = draw_ctx->v3d;
if ((v3d->flag2 & V3D_RENDER_OVERRIDE) > 0 || (v3d->overlay.flag & V3D_OVERLAY_HIDE_CURSOR)) {
if ((v3d->flag2 & V3D_RENDER_OVERRIDE) || (v3d->overlay.flag & V3D_OVERLAY_HIDE_CURSOR)) {
return false;
}