diff src/main.c @ 629:1fa2cb6d9d65

Rename options: startup_path_enable -> startup.restore_path startup_path -> startup.path Geeqie is still able to read old options.
author zas_
date Sun, 11 May 2008 12:23:26 +0000
parents bbe8e71cdfb2
children 83d3ded39e49
line wrap: on
line diff
--- a/src/main.c	Sun May 11 11:46:48 2008 +0000
+++ b/src/main.c	Sun May 11 12:23:26 2008 +0000
@@ -1382,9 +1382,9 @@
 		{
 		path = g_strdup(cmd_path);
 		}
-	else if (options->startup_path_enable && options->startup_path && isdir(options->startup_path))
+	else if (options->startup.restore_path && options->startup.path && isdir(options->startup.path))
 		{
-		path = g_strdup(options->startup_path);
+		path = g_strdup(options->startup.path);
 		}
 	else
 		{