Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
theme.c
Log Message:
Don't crash if trying to start when no theme is found. Add missing newline.
===================================================================
RCS file: /cvs/e/e16/e/src/theme.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -3 -r1.62 -r1.63
--- theme.c 17 Jan 2007 01:10:43 -0000 1.62
+++ theme.c 6 May 2007 13:44:54 -0000 1.63
@@ -423,7 +423,7 @@
if (Conf.theme.name)
Efree(Conf.theme.name);
- Conf.theme.name = fullfileof(theme);
+ Conf.theme.name = (theme) ? fullfileof(theme) : NULL;
if (Mode.theme.path)
Efree(Mode.theme.path);
@@ -464,7 +464,7 @@
IpcPrintf("Name: %s\n", Conf.theme.name);
IpcPrintf("Full: %s\n", Mode.theme.path);
IpcPrintf("Default: %s\n", ThemeGetDefault());
- IpcPrintf("Path: %s/themes:%s/themes:%s", EDirUser(), EDirRoot(),
+ IpcPrintf("Path: %s/themes:%s/themes:%s\n", EDirUser(), EDirRoot(),
(Conf.theme.extra_path) ? Conf.theme.extra_path : "");
}
else if (!strncmp(cmd, "list", 2))
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs