Fix leak of 'fname' introduced by the rewrite of write_random_seed in
[sgt/putty] / windows / pageant.mft
index 0a76838..5a1b49c 100644 (file)
@@ -1,15 +1,18 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!-- This is present purely to make Visual Styles in XP work better.
-     See 20020104174954.A12067@imsa.edu. -->
+<!-- Do not attempt to do anything clever with this file, as some versions of
+     Windows are very sensitive to the exact format.
+     Hence, some facts below are fibs. -->
 <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
 <assemblyIdentity
-   version="1.0.0.0"
+   version="0.0.0.0"
    processorArchitecture="x86"
    name="Pageant"
    type="win32" />
-   <description>SSH authentication agent for PuTTY.</description>
+   <description>PuTTY SSH authentication agent</description>
    <dependency>
    <dependentAssembly>
+        <!-- Load Common Controls 6 instead of 5 to get WinXP native-
+             looking controls in the client area. -->
         <assemblyIdentity type="win32"
              name="Microsoft.Windows.Common-Controls"
              version="6.0.0.0" 
              processorArchitecture="x86"/> 
    </dependentAssembly>
    </dependency>
+   <!-- Declare us to be "DPI-aware". -->
+   <asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
+     <asmv3:windowsSettings
+         xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
+       <dpiAware>true</dpiAware>
+     </asmv3:windowsSettings>
+   </asmv3:application>
 </assembly>