From 085b7d88987d7bd12ab45dd8a503d6c0ce170fc4 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Wed, 29 Apr 2015 18:21:35 +0200
Subject: [PATCH] Set WWW_CONF_MAX_URLLEN to maximum value by default.
WWW_CONF_MAX_URLLEN is used as length for the 'editurl' textentry widget. The CTK code for handling that widget uses a single byte so the length can't be > 255. Thus WWW_CONF_MAX_URLLEN can't be > 255 as well.
---
apps/webbrowser/www.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/webbrowser/www.h b/apps/webbrowser/www.h
index d7ffd6fd6..2b6e5f33e 100644
--- a/apps/webbrowser/www.h
+++ b/apps/webbrowser/www.h
@@ -44,7 +44,7 @@
#define WWW_CONF_HISTORY_SIZE 10
#endif
#ifndef WWW_CONF_MAX_URLLEN
-#define WWW_CONF_MAX_URLLEN 300
+#define WWW_CONF_MAX_URLLEN 255
#endif
#ifndef WWW_CONF_PAGEATTRIB_SIZE
#define WWW_CONF_PAGEATTRIB_SIZE 2000