diff options
| -rw-r--r-- | launcher/QuicklistView.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/launcher/QuicklistView.cpp b/launcher/QuicklistView.cpp index f774cf132..3851c7730 100644 --- a/launcher/QuicklistView.cpp +++ b/launcher/QuicklistView.cpp @@ -916,8 +916,7 @@ void ql_compute_full_mask_path(cairo_t* cr, gfloat padding = pad; int ZEROPOINT5 = 0.0f; - gfloat HeightToAnchor = 0.0f; - HeightToAnchor = ((gfloat) height - 2.0f * radius - anchor_height - 2 * padding) / 2.0f; + gfloat HeightToAnchor = ((gfloat) height - 2.0f * radius - anchor_height - 2 * padding) / 2.0f; if (HeightToAnchor < 0.0f) { g_warning("Anchor-height and corner-radius a higher than whole texture!"); |
