E (conf_shelves): Fix format statement for snprintf. Bad Stu ! :P
authorChristopher Michael <cpmichael1@comcast.net>
Wed, 4 Jul 2012 06:08:03 +0000 (06:08 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Wed, 4 Jul 2012 06:08:03 +0000 (06:08 +0000)
SVN revision: 73252

src/modules/conf_shelves/e_int_config_shelf.c

index ec98e4f..8a2c84f 100644 (file)
@@ -376,7 +376,7 @@ _dia_new_shelf(E_Config_Dialog_Data *cfdata)
                                 0, 1, 0, 0);
 
    id = e_widget_ilist_count(cfdata->o_list);
-   snprintf(buf, sizeof(buf), "% #%d", _("Shelf"), id);
+   snprintf(buf, sizeof(buf), "%s #%d", _("Shelf"), id);
    cfdata->new_shelf = strdup(buf);
    ob = e_widget_entry_add(evas, &(cfdata->new_shelf), NULL, NULL, NULL);
    e_widget_size_min_set(ob, 100, 1);