diff --git a/modules/juce_core/native/juce_win32_Registry.cpp b/modules/juce_core/native/juce_win32_Registry.cpp index f96ecbd3db..9c5cc3b369 100644 --- a/modules/juce_core/native/juce_win32_Registry.cpp +++ b/modules/juce_core/native/juce_win32_Registry.cpp @@ -218,7 +218,7 @@ bool WindowsRegistry::registerFileAssociation (const String& fileExtension, && setValue (key + "\\shell\\open\\command\\", targetExecutable.getFullPathName() + " \"%1\"", mode) && (iconResourceNumber == 0 || setValue (key + "\\DefaultIcon\\", - targetExecutable.getFullPathName() + "," + String (-iconResourceNumber))); + targetExecutable.getFullPathName() + "," + String (iconResourceNumber))); } // These methods are deprecated: