diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2008-04-13 22:23:04 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2008-04-13 22:23:04 +0000 |
commit | a2616bbfe7d711bf9d43691e36cf956313eacfa1 (patch) | |
tree | 83c5685709fcc2425ceff2e8cb20c779db8c5e5b | |
parent | 48431f9674b85f9713a29249c5ce2babf661b5f7 (diff) | |
download | netsurf-a2616bbfe7d711bf9d43691e36cf956313eacfa1.tar.gz netsurf-a2616bbfe7d711bf9d43691e36cf956313eacfa1.tar.bz2 |
Fix makefile for save text. Remove redundant ifdef.
svn path=/trunk/netsurf/; revision=4096
-rw-r--r-- | Makefile.sources | 6 | ||||
-rw-r--r-- | riscos/save.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.sources b/Makefile.sources index ff23ce64f..340070670 100644 --- a/Makefile.sources +++ b/Makefile.sources @@ -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 \ diff --git a/riscos/save.c b/riscos/save.c index 3ded30684..b701bd1d1 100644 --- a/riscos/save.c +++ b/riscos/save.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); |