Long file names broken.
|Reported by:||Nathan||Owned by:||Thomas Bernard|
Loading images, palettes, etc. doesn't work on win32 if file name (without directory) is longer than 15 characters. This issue occurs on every win32 build I tried: 2.7, 2.8 nightlies, GDI, SDL.
When you click load the UI flashes red, and prints this to console:
Warning in file loadsave.c, line 617, function Load_image : Cannot open file for reading Error number 0 occurred in file loadsave.c, line 618, function Load_image.
If you click load again on the same file it will crash.
When you look at WinAPI calls grafx2 is making you can see it's actually trying to access a truncated file path (see attachments).