Begin converting URL struct into modern C++ class
This commit is contained in:
@ -45,12 +45,12 @@ datauri_filter_dpi_LDADD = \
|
||||
|
||||
downloads_dpi_CXXFLAGS = @LIBFLTK_CXXFLAGS@
|
||||
|
||||
bookmarks_dpi_SOURCES = bookmarks.c dpiutil.c dpiutil.h
|
||||
downloads_dpi_SOURCES = downloads.cc dpiutil.c dpiutil.h
|
||||
ftp_filter_dpi_SOURCES = ftp.c dpiutil.c dpiutil.h
|
||||
hello_filter_dpi_SOURCES = hello.c dpiutil.c dpiutil.h
|
||||
vsource_filter_dpi_SOURCES = vsource.c dpiutil.c dpiutil.h
|
||||
file_dpi_SOURCES = file.c dpiutil.c dpiutil.h
|
||||
cookies_dpi_SOURCES = cookies.c dpiutil.c dpiutil.h
|
||||
datauri_filter_dpi_SOURCES = datauri.c dpiutil.c dpiutil.h
|
||||
bookmarks_dpi_SOURCES = bookmarks.c dpiutil.cc dpiutil.h
|
||||
downloads_dpi_SOURCES = downloads.cc dpiutil.cc dpiutil.h
|
||||
ftp_filter_dpi_SOURCES = ftp.c dpiutil.cc dpiutil.h
|
||||
hello_filter_dpi_SOURCES = hello.c dpiutil.cc dpiutil.h
|
||||
vsource_filter_dpi_SOURCES = vsource.c dpiutil.cc dpiutil.h
|
||||
file_dpi_SOURCES = file.c dpiutil.cc dpiutil.h
|
||||
cookies_dpi_SOURCES = cookies.c dpiutil.cc dpiutil.h
|
||||
datauri_filter_dpi_SOURCES = datauri.c dpiutil.cc dpiutil.h
|
||||
|
||||
|
@ -97,7 +97,7 @@ char *Escape_html_str(const char *str)
|
||||
Dstr *dstr = dStr_sized_new(64);
|
||||
|
||||
for (i = 0; str[i]; ++i) {
|
||||
if ((p = strchr(unsafe_chars, str[i])))
|
||||
if ((p = const_cast< char * >( strchr(unsafe_chars, str[i]) )))
|
||||
dStr_append(dstr, unsafe_rep[p - unsafe_chars]);
|
||||
else
|
||||
dStr_append_c(dstr, str[i]);
|
Reference in New Issue
Block a user