From d16b11bb30d2970c1928f71a9d08c6d899d3f57d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 6 Jan 2008 22:46:59 +0100 Subject: [PATCH] cosmetic --- statusbar.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/statusbar.c b/statusbar.c index 4b7b19022..2019fc38a 100644 --- a/statusbar.c +++ b/statusbar.c @@ -70,13 +70,11 @@ statusbar_draw(Statusbar *statusbar) if(statusbar->position == Right || statusbar->position == Left) { - Drawable d; if(statusbar->position == Right) - d = draw_rotate(ctx, phys_screen, M_PI_2, statusbar->height, 0); + statusbar->drawable = draw_rotate(ctx, phys_screen, M_PI_2, statusbar->height, 0); else - d = draw_rotate(ctx, phys_screen, - M_PI_2, 0, statusbar->width); + statusbar->drawable = draw_rotate(ctx, phys_screen, - M_PI_2, 0, statusbar->width); - statusbar->drawable = d; draw_free_context(ctx); } else