From 4f0862ba5560fde758ea5f984bf68b248870837b Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Tue, 3 Sep 2024 13:59:38 +0100 Subject: [PATCH] Fix Windows build error in gnc_html_webkit1.c load_to_stream requires a return value for the Pre-condition Assertion --- gnucash/html/gnc-html-webkit1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/html/gnc-html-webkit1.c b/gnucash/html/gnc-html-webkit1.c index 8164b641313..3693220751b 100644 --- a/gnucash/html/gnc-html-webkit1.c +++ b/gnucash/html/gnc-html-webkit1.c @@ -474,7 +474,7 @@ load_to_stream( GncHtmlWebkit* self, URLType type, DEBUG( "type %s, location %s, label %s", type ? type : "(null)", location ? location : "(null)", label ? label : "(null)"); - g_return_if_fail( self != NULL ); + g_return_val_if_fail( self != NULL, FALSE ); if ( gnc_html_stream_handlers != NULL ) {