mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 01:09:39 +03:00
Fix makefile for save text. Remove redundant ifdef.
svn path=/trunk/netsurf/; revision=4096
This commit is contained in:
parent
48431f9674
commit
a2616bbfe7
@ -29,7 +29,9 @@ S_IMAGE := $(addprefix image/,$(S_IMAGE))
|
||||
|
||||
# S_BROWSER are sources related to full browsers but are common
|
||||
# between RO and Unix builds
|
||||
S_BROWSER := browser.c frames.c history_core.c netsurf.c selection.c textinput.c
|
||||
S_BROWSER := browser.c frames.c history_core.c netsurf.c save_text.c selection.c \
|
||||
textinput.c
|
||||
|
||||
S_BROWSER := $(addprefix desktop/,$(S_BROWSER))
|
||||
|
||||
# S_RISCOS are sources purely for the RISC OS build
|
||||
@ -45,7 +47,7 @@ S_RISCOS := 401login.c artworks.c assert.c awrender.s bitmap.c buffer.c \
|
||||
$(addprefix configure/,con_cache.c con_connect.c con_content.c con_fonts.c \
|
||||
con_home.c con_image.c con_inter.c con_language.c con_memory.c con_secure.c \
|
||||
con_theme.c)
|
||||
S_RISCOS := $(addprefix riscos/,$(S_RISCOS)) desktop/save_text.c
|
||||
S_RISCOS := $(addprefix riscos/,$(S_RISCOS))
|
||||
|
||||
# S_GTK are sources purely for the GTK build
|
||||
S_GTK := font_pango.c gtk_bitmap.c gtk_gui.c gtk_schedule.c \
|
||||
|
@ -647,12 +647,10 @@ bool ro_gui_save_content(struct content *c, char *path)
|
||||
case GUI_SAVE_DRAW:
|
||||
return save_as_draw(c, path);
|
||||
#endif
|
||||
#ifdef WITH_TEXT_EXPORT
|
||||
case GUI_SAVE_TEXT:
|
||||
save_as_text(c, path);
|
||||
xosfile_set_type(path, 0xfff);
|
||||
break;
|
||||
#endif
|
||||
#ifdef WITH_SAVE_COMPLETE
|
||||
case GUI_SAVE_COMPLETE:
|
||||
assert(c);
|
||||
|
Loading…
Reference in New Issue
Block a user