mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Revert bad stuff in a3fb98f499
Revert stuff that wasn't supposed to have been committed.
This commit is contained in:
parent
143398f09d
commit
b64b76a3ce
@ -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/))
|
||||
|
12
src/setup.h
12
src/setup.h
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user