--- desktop/unx/source/start.c-old	2006-03-19 15:07:26.000000000 +0100
+++ desktop/unx/source/start.c	2006-03-19 15:44:15.000000000 +0100
@@ -395,8 +395,6 @@
 	gboolean next_arg_not_filename = FALSE;
 	GPtrArray *args = g_ptr_array_sized_new (argc + 8);
 
-	*inhibit_splash = FALSE;
-
 	for (i = 0; i < argc; i++)
 	{
 		char *converted;
@@ -438,7 +436,7 @@
 int main (int argc, char **argv)
 {
 	int fd;
-	gboolean inhibit_splash;
+	gboolean inhibit_splash = FALSE;
 	GIOChannel *status_channel = NULL;
 	gboolean sent_args = FALSE;
 	char *app_path, *pipe_path;
@@ -451,6 +449,28 @@
 		g_error ("can't get cwd");
 	cwd_str[sizeof(cwd_str)-1] = '\0';
 
+	FILE *sofficerc;
+	char* buf = malloc(80*sizeof(char));
+	sofficerc = fopen("/etc/openoffice/sofficerc", "r");
+	if (sofficerc != NULL) {
+		while(!feof(sofficerc)) {
+			fgets(buf, 80, sofficerc);
+#ifdef DEBUG
+			fprintf(stderr,buf);
+#endif
+			if(strncmp("Logo=0",buf,6) == 0) {
+#ifdef DEBUG
+				fprintf(stderr, "Disabling Logo..\n");
+#endif
+				inhibit_splash = TRUE;
+			}
+		}
+		fclose(sofficerc);
+	} else {
+		perror("fopen() of /etc/openoffice/sofficerc failed");
+	}
+	free(buf);
+	
 	args = setup_args (argc, argv, cwd_str, &inhibit_splash);
 
 	app_path = get_app_path (argv[0]);
