]> git.decadent.org.uk Git - videolink.git/blobdiff - style_sheets.cpp
Changed set_browser_preferences to use the "user" branch rather than the "default...
[videolink.git] / style_sheets.cpp
index 4b00ce49d7bcb328df50b109e381f82f5b9c2131..9c599826e921abace5045c2d8cbe0659b1bbfd88 100644 (file)
@@ -42,7 +42,7 @@ void apply_style_sheet(nsIStyleSheet * style_sheet, nsIPresShell * pres_shell)
 {
     nsCOMArray<nsIStyleSheet> style_sheets;
     check(pres_shell->GetAgentStyleSheets(style_sheets));
-    check(style_sheets.InsertObjectAt(style_sheet, 0));
+    check(style_sheets.AppendObject(style_sheet));
     check(pres_shell->SetAgentStyleSheets(style_sheets));
 
     // FIXME: We need to find an alternative that works in Mozilla 1.8.