A little patch to loaduri() to load a file given on the command line, if
the file exists. If 'uri' does not contain "://" it is tested to be an
existing readable file. If it is, "file://" is prepended, else "http://";
is. I've found that is enough to load files in the current directory,
full paths, and relative paths.

Attachment: surf-load-file.patch
Description: Binary data



Reply via email to