diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/treeview.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/desktop/treeview.c b/desktop/treeview.c index b8bd852fe..d69dae3aa 100644 --- a/desktop/treeview.c +++ b/desktop/treeview.c @@ -3691,6 +3691,11 @@ static struct bitmap * treeview_generate_copy_bitmap( bitmap_modified(b); + /* We've not modified the original image, but we called + * bitmap_get_buffer(), so we need to pair that with a + * bitmap_modified() call to appease certain front ends. */ + bitmap_modified(orig); + return b; } @@ -3747,6 +3752,11 @@ static struct bitmap * treeview_generate_rotate_bitmap( bitmap_modified(b); + /* We've not modified the original image, but we called + * bitmap_get_buffer(), so we need to pair that with a + * bitmap_modified() call to appease certain front ends. */ + bitmap_modified(orig); + return b; } |