Doc: Fix compilation warning in preview_text_filter.c
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 14 Feb 2014 03:20:51 +0000 (12:20 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 14 Feb 2014 04:06:05 +0000 (13:06 +0900)
Init variable properly.

doc/previews/preview_text_filter.c

index d462a1ab87bb14b29d945a65d2bac0e242d9dcb6..86f93be85cb2523307dfe8eee450d45aea27f3f6 100644 (file)
@@ -60,7 +60,7 @@ _usage(const char *argv0, FILE *f)
 int
 main(int argc, char **argv)
 {
-   Widget_Preview_Data wpd = { NULL, NULL, NULL };
+   Widget_Preview_Data wpd = { NULL, NULL, NULL, NULL };
    const char *font = "Sans";
    const char *filter, *text;
    int fontsize = 32;