summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 92df3fa..34aea01 100644
--- a/src/main.c
+++ b/src/main.c
@@ -345,7 +345,7 @@ int main(int argc, char **argv)
if (ret == 0)
{
- project = g_study_project_open(prj_filename);
+ project = g_study_project_open(prj_filename, !batch_mode);
if (project == NULL) goto bad_project;
}
@@ -440,7 +440,7 @@ static gboolean load_last_project(GGenConfig *cfg)
filename = NULL;
if (filename == NULL) project = g_study_project_new();
- else project = g_study_project_open(filename);
+ else project = g_study_project_open(filename, !is_batch_mode());
set_current_project(project);
@@ -479,7 +479,7 @@ static int open_binaries(char **files, int count)
if (content != NULL)
{
- g_study_project_discover_binary_content(project, content, NULL, NULL);
+ g_study_project_discover_binary_content(project, content, !is_batch_mode(), NULL, NULL);
g_object_unref(G_OBJECT(content));
}