From 6cf526177b8145732e67058e9b3f2c30f24eee2b Mon Sep 17 00:00:00 2001 From: Hannes Schueller Date: Sun, 27 Feb 2011 20:56:40 +0100 Subject: [PATCH] whitespace fixes --- main.c | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/main.c b/main.c index f1a77ba..baa8997 100644 --- a/main.c +++ b/main.c @@ -904,22 +904,21 @@ complete(const Arg *arg) { entry = NULL; } } - /* TA: FIXME - this needs rethinking entirely. */ - { - GtkWidget **widgets_temp = realloc(widgets, sizeof(*widgets) * n); - if (widgets_temp == NULL && widgets == NULL) { - fprintf(stderr, "Couldn't realloc() widgets\n"); - exit(1); - } - widgets = widgets_temp; - - char **suggestions_temp = realloc(suggestions, sizeof(*suggestions) * n); - if (suggestions_temp == NULL && suggestions == NULL) { - fprintf(stderr, "Couldn't realloc() suggestions\n"); - exit(1); - } - suggestions = suggestions_temp; - } + /* TA: FIXME - this needs rethinking entirely. */ + { + GtkWidget **widgets_temp = realloc(widgets, sizeof(*widgets) * n); + if (widgets_temp == NULL && widgets == NULL) { + fprintf(stderr, "Couldn't realloc() widgets\n"); + exit(1); + } + widgets = widgets_temp; + char **suggestions_temp = realloc(suggestions, sizeof(*suggestions) * n); + if (suggestions_temp == NULL && suggestions == NULL) { + fprintf(stderr, "Couldn't realloc() suggestions\n"); + exit(1); + } + suggestions = suggestions_temp; + } if (!n) { gdk_color_parse(completionbgcolor[1], &color); gtk_widget_modify_bg(table, GTK_STATE_NORMAL, &color); -- 2.11.4.GIT