netsurf: branch master updated. 5638887a4bdcc9784f1f7ed319738bb25839ec14

NetSurf Browser Project (Commit Mailer) no-reply at netsurf-browser.org
Mon Nov 5 17:06:28 GMT 2012


Gitweb links:

...log http://git.netsurf-browser.org/netsurf.git/shortlog/5638887a4bdcc9784f1f7ed319738bb25839ec14
...commit http://git.netsurf-browser.org/netsurf.git/commit/5638887a4bdcc9784f1f7ed319738bb25839ec14
...tree http://git.netsurf-browser.org/netsurf.git/tree/5638887a4bdcc9784f1f7ed319738bb25839ec14

The branch, master has been updated
       via  5638887a4bdcc9784f1f7ed319738bb25839ec14 (commit)
      from  621721417dd5b204213bbaebec9394fa59fb6c39 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff http://git.netsurf-browser.org/netsurf.git/commitdiff/5638887a4bdcc9784f1f7ed319738bb25839ec14
commit 5638887a4bdcc9784f1f7ed319738bb25839ec14
Author: Michael Drake <tlsa at netsurf-browser.org>
Commit: Michael Drake <tlsa at netsurf-browser.org>

    Use true/false for verbose_log.

diff --git a/riscos/gui.c b/riscos/gui.c
index 3850c5b..8eac42d 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -800,15 +800,15 @@ int main(int argc, char** argv)
 	error = xos_read_var_val_size("NetSurf$Logging", 0, os_VARTYPE_STRING,
 			&used, NULL, &type);
 	if (error != NULL || type != os_VARTYPE_STRING || used != -2) {
-		verbose_log = 1;
+		verbose_log = true;
 	} else {
 		error = xos_read_var_val("NetSurf$Logging", logging_env,
 				sizeof(logging_env), 0, os_VARTYPE_STRING,
 				&used, NULL, &type);
 		if (error != NULL || logging_env[0] != '0') {
-			verbose_log = 1;
+			verbose_log = true;
 		} else {
-			verbose_log = 0;
+			verbose_log = false;
 		}
 	}
 


-----------------------------------------------------------------------

Summary of changes:
 riscos/gui.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/riscos/gui.c b/riscos/gui.c
index 3850c5b..8eac42d 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -800,15 +800,15 @@ int main(int argc, char** argv)
 	error = xos_read_var_val_size("NetSurf$Logging", 0, os_VARTYPE_STRING,
 			&used, NULL, &type);
 	if (error != NULL || type != os_VARTYPE_STRING || used != -2) {
-		verbose_log = 1;
+		verbose_log = true;
 	} else {
 		error = xos_read_var_val("NetSurf$Logging", logging_env,
 				sizeof(logging_env), 0, os_VARTYPE_STRING,
 				&used, NULL, &type);
 		if (error != NULL || logging_env[0] != '0') {
-			verbose_log = 1;
+			verbose_log = true;
 		} else {
-			verbose_log = 0;
+			verbose_log = false;
 		}
 	}
 


-- 
NetSurf Browser



More information about the netsurf-commits mailing list