[Geany] Possible bug in win32.c

Jeff Pohlmeyer yetanothergeek at xxxxx
Fri Dec 28 12:09:40 UTC 2007


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



More information about the Users mailing list