From: Dana Jansens Date: Wed, 13 Jun 2007 11:21:19 +0000 (+0000) Subject: backwards args X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=12ce61180722770709e55469b656c75b01216753;p=chaz%2Fopenbox backwards args --- diff --git a/openbox/screen.c b/openbox/screen.c index a562566e..1cdf31f5 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -1100,7 +1100,7 @@ void screen_install_colormap(ObClient *client, gboolean install) #define RESET_STRUT_LIST(sl) \ {if (sl) for (i = 0; sl[i]; ++i) g_slist_free(sl[i]); \ sl = g_renew(GSList*, sl, screen_num_desktops + 1); \ - memset(sl, sizeof(GSList*) * screen_num_desktops, NULL);} + memset(sl, NULL, sizeof(GSList*) * screen_num_desktops);} #define ADD_STRUT_TO_LIST(sl, d, s) \ {for (i = 0; i < screen_num_desktops; ++i) \