OSDN Git Service

Change to encode reply messages with Kanji code of filenames.
[ffftp/ffftp.git] / registry.c
index 1bb3b8b..7226885 100644 (file)
@@ -1104,7 +1104,7 @@ void SaveSettingsToFile(void)
                                {\r
                                        if(SetCurrentDirectory(SysDir))\r
                                        {\r
-                                               if(ShellExecute(NULL, "open", "regedit", Tmp, ".", SW_SHOW) <= (HINSTANCE)32)\r
+                                               if(ShellExecute(NULL, "open", "regedit", Tmp, NULL, SW_SHOW) <= (HINSTANCE)32)\r
                                                {\r
                                                        MessageBox(NULL, MSGJPN285, "FFFTP", MB_OK);\r
                                                }\r
@@ -1168,7 +1168,7 @@ int LoadSettingsFromFile(void)
                                {\r
                                        if(SetCurrentDirectory(SysDir))\r
                                        {\r
-                                               if(ShellExecute(NULL, "open", "regedit", Tmp, ".", SW_SHOW) <= (HINSTANCE)32)\r
+                                               if(ShellExecute(NULL, "open", "regedit", Tmp, NULL, SW_SHOW) <= (HINSTANCE)32)\r
                                                {\r
                                                        MessageBox(NULL, MSGJPN285, "FFFTP", MB_OK);\r
                                                }\r