larsenv / showmiiwads

Automatically exported from code.google.com/p/showmiiwads
1 stars 0 forks source link

Can't install wad with capital letter in the file extension #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. WAD file extension contains a capital letter (ex: ".Wad", ".WAD") 
2. Try to drag and drop to ShowMiiNand window

What is the expected output? What do you see instead?
Expected to add WAD files to the install queue. Instead of getting a "+" 
cursor, you get a No cursor showing that items will not be added.

What version of the product are you using? On what operating system?
ShowMiiWads 1.4 x64 on Windows 7 Home Premium 64-bit.

Please provide any additional information below.
File extensions must be renamed to all lowercase before ShowMiiNand allows the 
file to be installed to nand.

Original issue reported on code.google.com by twig...@gmail.com on 7 Jan 2012 at 6:55

GoogleCodeExporter commented 9 years ago
Here's a fix. Replace lines 2250 and 2306 with:
else if (File.Exists(drop[i]) && drop[i].Remove(0, 
drop[i].LastIndexOf('.')).ToLower() == ".wad")

Original comment by catscratchesp on 7 Mar 2012 at 12:08

Attachments: