Commit cb8a1d02 authored by scott's avatar scott
Browse files

Fixed a problem with losing tile data in certain situations. -sg

parent 78d8af84
......@@ -2,6 +2,11 @@ Thu Jul 23 21:57:25 CDT 1998 Shawn T. Amundson <amundson@gimp.org>
* app/interface.c: usize statusbar to 1 width
Thu Jul 23 22:34:27 1998 Scott Goehring <scott@poverty.bloomington.in.us>
* app/tile_cache.c (tile_cache_zorch_next): Fixed a problem with
losing tile data.
Thu Jul 23 20:29:40 MEST 1998 Sven Neumann <sven@gimp.org>
* app/edit_selection.c: Display the move offset in the statusbar.
......
......@@ -243,7 +243,7 @@ tile_cache_zorch_next ()
TILE_MUTEX_LOCK (tile);
CACHE_LOCK;
tile_cache_flush_internal (tile);
if (tile->dirty)
if (tile->dirty || tile->swap_offset == -1)
{
tile_swap_out (tile);
}
......
......@@ -243,7 +243,7 @@ tile_cache_zorch_next ()
TILE_MUTEX_LOCK (tile);
CACHE_LOCK;
tile_cache_flush_internal (tile);
if (tile->dirty)
if (tile->dirty || tile->swap_offset == -1)
{
tile_swap_out (tile);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment