I notice a potential problem with the win32_check_write_permission()
function on line 562 of win32.c - it really isn't a bug right now, but it
might turn into a bug if the function ever gets used somewhere else:
-MultiByteToWideChar(CP_UTF8, 0, app->configdir, -1, w_dir, sizeof w_dir);
+MultiByteToWideChar(CP_UTF8, 0, dir, -1, w_dir, sizeof w_dir);
- Jeff