diff --git a/imv.c b/imv.c index 6b1f3d2..597033a 100644 --- a/imv.c +++ b/imv.c @@ -1926,8 +1926,11 @@ BOOL CALLBACK PrefDlgProc(HWND hdlg, UINT imsg, WPARAM wparam, LPARAM lparam) stb_mutex_end(cache_mutex); // force a reload of the current image advance(0); - } else if (old_cubic != upsample_cubic) + } else if (old_cubic != upsample_cubic) { + free(cur_filename); + cur_filename = NULL; advance(0); + } // save the data out to the registry reg_save(); @@ -2449,6 +2452,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine pending_resize.size = qs; queue_resize(qs.w, qs.h, source_c, FALSE); } + //flush = FALSE; } qs.w = 0; } diff --git a/notes.txt b/notes.txt index d7034d9..95f8915 100644 --- a/notes.txt +++ b/notes.txt @@ -1,6 +1,7 @@ Version 0.94: Beta 5 * (bugfix: fix cacheing code to allow refreshing current image after flip etc.) * (feature: use 'f' to flip image vertically, in case FreeImage sucks) + * bugfix: changing image resize quality in preferences refreshes on OK * feature: sort filenames to sort numbers in human-friendly order * feature: show index within sorted list * feature: ctrl-C puts current image filename (with full path) in the clipboard