1
0
Fork 0

Revert bad stuff in a3fb98f499

Revert stuff that wasn't supposed to have been committed.
This commit is contained in:
Miciah Dashiel Butler Masters 2006-02-19 07:31:39 +00:00 committed by Miciah Dashiel Butler Masters
parent 143398f09d
commit b64b76a3ce
2 changed files with 6 additions and 14 deletions

View File

@ -42,14 +42,6 @@ function root_w00t(cached, vs) {
};
elinks.preformat_html_hooks.push(root_w00t);
function fix_rss_content_type(cached, vs) {
if (cached.uri.match(/rss\.slashdot\.org|\.(rss|rdf)$/))
cached.type = 'application/rss+xml';
return true;
};
elinks.preformat_html_hooks.push(fix_rss_content_type);
function mangle_deb_bugnumbers(cached, vs) {
if (!cached.uri.match(/^[a-z0-9]+:\/\/[a-z0-9A-Z.-]+debian\.org/)
&& !cached.uri.match(/changelog\.Debian/))

View File

@ -32,21 +32,21 @@
#define MEMORY_CACHE_GC_PERCENT 90
#define MAX_CACHED_OBJECT_PERCENT 25
#define MAX_INPUT_HISTORY_ENTRIES 1024
#define MAX_INPUT_HISTORY_ENTRIES 256
#define SCROLL_ITEMS 2
#define DIALOG_LEFT_BORDER 0
#define DIALOG_TOP_BORDER 0
#define DIALOG_LEFT_INNER_BORDER 0
#define DIALOG_LEFT_BORDER 3
#define DIALOG_TOP_BORDER 1
#define DIALOG_LEFT_INNER_BORDER 2
#define DIALOG_TOP_INNER_BORDER 0
#define DIALOG_FRAME 0
#define DIALOG_FRAME 2
#define DIALOG_MIN_WIDTH 42
#define DIALOG_LB (DIALOG_LEFT_BORDER + DIALOG_LEFT_INNER_BORDER + 1)
#define DIALOG_TB (DIALOG_TOP_BORDER + DIALOG_TOP_INNER_BORDER + 1)
#define ESC_TIMEOUT ((milliseconds_T) 50)
#define ESC_TIMEOUT ((milliseconds_T) 200)
#define DISPLAY_TIME_MIN ((milliseconds_T) 200)
#define DISPLAY_TIME 20