From 61c1a2dbee85f9189bd24877e527ef65a197715b Mon Sep 17 00:00:00 2001 From: "bsmedberg%covad.net" Date: Fri, 29 Oct 2004 02:51:47 +0000 Subject: [PATCH] Bug 266292 - crash when using GTK command-line params such as --display r=darin --- toolkit/xre/nsAppRunner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp index 64f72a61c01..de93b23cd1b 100644 --- a/toolkit/xre/nsAppRunner.cpp +++ b/toolkit/xre/nsAppRunner.cpp @@ -1757,7 +1757,7 @@ int xre_main(int argc, char* argv[], const nsXREAppData* aAppData) #if defined(MOZ_WIDGET_GTK) gtk_set_locale(); #endif - gtk_init(&argc, &argv); + gtk_init(&gArgc, &gArgv); gtk_widget_set_default_visual(gdk_rgb_get_visual()); gtk_widget_set_default_colormap(gdk_rgb_get_cmap());