diff options
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/filetype.c | 4 | ||||
-rw-r--r-- | riscos/save.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/riscos/filetype.c b/riscos/filetype.c index a4fc353bc..dc1b9b8d2 100644 --- a/riscos/filetype.c +++ b/riscos/filetype.c @@ -278,10 +278,12 @@ int ro_content_filetype_from_type(content_type type) { case CONTENT_HTML: return 0xfaf; case CONTENT_TEXTPLAIN: return 0xfff; case CONTENT_CSS: return 0xf79; +#if defined(WITH_MNG) || defined(WITH_PNG) + case CONTENT_PNG: return 0xb60; +#endif #ifdef WITH_MNG case CONTENT_JNG: return 0xf78; case CONTENT_MNG: return 0xf84; - case CONTENT_PNG: return 0xb60; #endif #ifdef WITH_JPEG case CONTENT_JPEG: return 0xc85; diff --git a/riscos/save.c b/riscos/save.c index bb209d015..bf0bd6ee6 100644 --- a/riscos/save.c +++ b/riscos/save.c @@ -835,8 +835,10 @@ void ro_gui_save_object_native(struct content *c, char *path) #ifdef WITH_JPEG case CONTENT_JPEG: #endif -#ifdef WITH_MNG +#if defined(WITH_MNG) || defined(WITH_PNG) case CONTENT_PNG: +#endif +#ifdef WITH_MNG case CONTENT_JNG: case CONTENT_MNG: #endif |