From b4915c74a4c5d6021eb9eb3b80a2ca4b0523fbd8 Mon Sep 17 00:00:00 2001
From: "ben%netscape.com" <ben%netscape.com>
Date: Thu, 22 Jun 2000 08:43:41 +0000
Subject: [PATCH] fix call palcement, suggested by jag on IRC, r=me

---
 xpfe/components/prefwindow/resources/content/pref.xul | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/xpfe/components/prefwindow/resources/content/pref.xul b/xpfe/components/prefwindow/resources/content/pref.xul
index 7e1ff5fe2de8a..d8aec538c7c47 100644
--- a/xpfe/components/prefwindow/resources/content/pref.xul
+++ b/xpfe/components/prefwindow/resources/content/pref.xul
@@ -29,11 +29,12 @@
   function Startup()
     {
       hPrefWindow = new nsPrefWindow('panelFrame');  
-      hPrefWindow.init();
       
       if( !hPrefWindow )
         throw "failed to create prefwindow";
 
+      hPrefWindow.init();
+
       // If this call worked, we could center the window here:
       // centerWindowOnScreen();
       
-- 
GitLab