Fix use of uninitialized value, which causes random crashes on startup.
Lubomir Rintel <lkundrak@v3.sk>
diff -up xteddy-2.0.1/xteddy.c.iconname xteddy-2.0.1/xteddy.c
--- xteddy-2.0.1/xteddy.c.iconname 2009-03-08 23:01:59.000000000 -0400
+++ xteddy-2.0.1/xteddy.c 2009-03-08 23:02:12.000000000 -0400
@@ -109,7 +109,7 @@ int main(int argc, char **argv)
XSizeHints size_hints;
XWMHints wm_hints;
XClassHint class_hints;
- XTextProperty windowName, iconName;
+ XTextProperty windowName;
int argnum;
int use_wm, float_up, allow_quit;
XEvent report;
@@ -237,7 +237,7 @@ int main(int argc, char **argv)
class_hints.res_name = progname;
class_hints.res_class = "Xteddy";
- XSetWMProperties(display, win, &windowName, &iconName,
+ XSetWMProperties(display, win, &windowName, NULL,
argv, argc, &size_hints, &wm_hints, &class_hints);
/* Select event types wanted */