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
On Fri, 28 Dec 2007 06:09:40 -0600, "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
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);
Yes, thanks. I'll fix this tomorrow (as well as some other things).
Regards, Enrico