From ca5ff6974e05cee95ff32cfb3fb91a43bbec1a7a Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Wed, 14 Mar 2007 16:42:07 +0100 Subject: [PATCH] Return TRUE on success. --- lib/src/sugar-browser.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/sugar-browser.cpp b/lib/src/sugar-browser.cpp index 80efa683..8bf5878f 100644 --- a/lib/src/sugar-browser.cpp +++ b/lib/src/sugar-browser.cpp @@ -534,6 +534,8 @@ sugar_browser_save_uri(SugarBrowser *browser, rv = webPersist->SaveURI(sourceURI, nsnull, nsnull, nsnull, nsnull, destFile); NS_ENSURE_SUCCESS(rv, FALSE); + + return TRUE; #else return FALSE; #endif @@ -584,6 +586,8 @@ sugar_browser_save_document(SugarBrowser *browser, rv = webPersist->SaveDocument(DOMDocument, destFile, filesFolder, nsnull, 0, 0); NS_ENSURE_SUCCESS(rv, FALSE); + + return TRUE; #else return FALSE; #endif