]> Dogcows Code - chaz/openbox/commitdiff
backwards args
authorDana Jansens <danakj@orodu.net>
Wed, 13 Jun 2007 11:21:19 +0000 (11:21 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 13 Jun 2007 11:21:19 +0000 (11:21 +0000)
openbox/screen.c

index a562566ebe1bb1f2f3bb3db3bf91daf01e3a8a56..1cdf31f57a203ed4e42ee6b5c47b2f98001746eb 100644 (file)
@@ -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) \
This page took 0.028668 seconds and 4 git commands to generate.