]> git.pld-linux.org Git - packages/elinks.git/commitdiff
- outdated
authorgrzegol <grzegol@pld-linux.org>
Thu, 4 Jul 2002 12:07:41 +0000 (12:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    elinks-hooks-fix.patch -> 1.2
    elinks-img.patch -> 1.3

elinks-hooks-fix.patch [deleted file]
elinks-img.patch [deleted file]

diff --git a/elinks-hooks-fix.patch b/elinks-hooks-fix.patch
deleted file mode 100644 (file)
index f2992fd..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -urN aaa/elinks-0.4pre7/contrib/hooks.lua elinks-0.4pre7/contrib/hooks.lua
---- aaa/elinks-0.4pre7/contrib/hooks.lua       Sun May  5 17:10:20 2002
-+++ elinks-0.4pre7/contrib/hooks.lua   Wed May 15 12:39:32 2002
-@@ -55,6 +55,7 @@
- -- For any other lua script to be loaded, clone following line:
-     dofile (home_dir.."/.links/script.lua")
-+              dofile ("/usr/share/elinks/script.lua")
- ----------------------------------------------------------------------
-@@ -350,6 +351,7 @@
- if bookmark_addon then
-     dofile (home_dir.."/.links/bm.lua")
-+              dofile ("/usr/share/elinks/bm.lua")
-     -- Add/change any bookmark options here.
diff --git a/elinks-img.patch b/elinks-img.patch
deleted file mode 100644 (file)
index 9a7e607..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -urN aaa/elinks-0.4pre7/src/document/html/parser.c elinks-0.4pre7/src/document/html/parser.c
---- aaa/elinks-0.4pre7/src/document/html/parser.c      Fri May 10 19:50:42 2002
-+++ elinks-0.4pre7/src/document/html/parser.c  Tue May 28 19:42:30 2002
-@@ -624,7 +624,20 @@
-               if (!d_opt->images && !format.link) return;
-               if (usemap) al = stracpy("[USEMAP]");
-               else if (ismap) al = stracpy("[ISMAP]");
--              else al = stracpy("[IMG]");
-+              else{
-+                      unsigned char *s = get_attr_val(a, "src");
-+                      int r;
-+                      if( s ){
-+                              for( r = strlen(s)-1; r >= 0; --r )
-+                                      if( dir_sep( s[r] ) )
-+                                              break;
-+                              r++;
-+                              if (!(al =mem_alloc((strlen(s + r) + 3) * sizeof(char)))) return;
-+                              sprintf(al, "[%s]", s + r);
-+                              mem_free( s );
-+                      }
-+                      else al = stracpy("[IMG]");
-+              }
-       }
-       if (format.image) mem_free(format.image), format.image = NULL;
-       if (al) {
This page took 0.114695 seconds and 4 git commands to generate.