]> Dogcows Code - chaz/openbox/blobdiff - render/theme.c
add a big comment about more menus
[chaz/openbox] / render / theme.c
index b4d869182daa23da08c16ca76fdd8532310aced9..1d47382393c667afb0075fdadbe73ab7f47d78d0 100644 (file)
@@ -95,7 +95,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
 
     theme = g_new0(RrTheme, 1);
     theme->inst = inst;
-    theme->name = g_strdup(name);
+    theme->name = g_strdup(name ? name : DEFAULT_THEME);
 
     theme->a_disabled_focused_max = RrAppearanceNew(inst, 1);
     theme->a_disabled_unfocused_max = RrAppearanceNew(inst, 1);
This page took 0.020194 seconds and 4 git commands to generate.