Enlightenment CVS committal

Author  : mej
Project : eterm
Module  : Eterm

Dir     : eterm/Eterm/src


Modified Files:
        options.c 


Log Message:
Tue Apr 20 13:44:22 2004                        Michael Jennings (mej)

As requested by Ben Armstrong <[EMAIL PROTECTED]>, saving
theme settings will not preserve -e/--exec arguments unless a theme
was specifically named by the user.

===================================================================
RCS file: /cvsroot/enlightenment/eterm/Eterm/src/options.c,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -3 -r1.132 -r1.133
--- options.c   5 Apr 2004 21:00:36 -0000       1.132
+++ options.c   20 Apr 2004 17:50:14 -0000      1.133
@@ -21,7 +21,7 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-static const char cvs_ident[] = "$Id: options.c,v 1.132 2004/04/05 21:00:36 mej Exp 
$";
+static const char cvs_ident[] = "$Id: options.c,v 1.133 2004/04/20 17:50:14 mej Exp 
$";
 
 #include "config.h"
 #include "feature.h"
@@ -3823,7 +3823,7 @@
     fprintf(fp, "    border_width %d\n", TermWin.internalBorder);
     fprintf(fp, "    term_name %s\n", getenv("TERM"));
     fprintf(fp, "    debug %d\n", DEBUG_LEVEL);
-    if (save_theme && rs_exec_args) {
+    if (save_theme && rs_exec_args && rs_theme && strcmp(rs_theme, PACKAGE)) {
         fprintf(fp, "    exec ");
         for (i = 0; rs_exec_args[i]; i++) {
             fprintf(fp, "'%s' ", rs_exec_args[i]);




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to