diff options
author | Adrian Lees <adrian@aemulor.com> | 2005-07-16 05:54:45 +0000 |
---|---|---|
committer | Adrian Lees <adrian@aemulor.com> | 2005-07-16 05:54:45 +0000 |
commit | 4a5dc6d5ccafcf0cb2efc656011e1ce693c511cb (patch) | |
tree | 494d085d5fab504c1ccd4c70ee5d0eca9a1822c4 /riscos/bitmap.c | |
parent | 46bc8ca1541d80b272e2ef0cbb499a4cb1bea659 (diff) | |
download | netsurf-4a5dc6d5ccafcf0cb2efc656011e1ce693c511cb.tar.gz netsurf-4a5dc6d5ccafcf0cb2efc656011e1ce693c511cb.tar.bz2 |
[project @ 2005-07-16 05:54:45 by adrianl]
Thumbnails displayed and dragged for full page save; spelling correction
svn path=/import/netsurf/; revision=1793
Diffstat (limited to 'riscos/bitmap.c')
-rw-r--r-- | riscos/bitmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/bitmap.c b/riscos/bitmap.c index f24ea06f6..6652e4d68 100644 --- a/riscos/bitmap.c +++ b/riscos/bitmap.c @@ -119,7 +119,7 @@ void bitmap_initialise_memory(void) } if (option_image_memory_compressed == -1) { /* claim 5% of free memory - min 256KB, max 4192KB */ - compressed_size = available_memory * 0.05; + compressed_size = available_memory / 20; if (compressed_size < (256 << 10)) compressed_size = 0; if (compressed_size > (4192 << 10)) @@ -463,7 +463,7 @@ bool bitmap_save(struct bitmap *bitmap, const char *path) /** - * The bitmap image has changed, so flush any persistant cache. + * The bitmap image has changed, so flush any persistent cache. * * \param bitmap a bitmap, as returned by bitmap_create() */ |