From ea048083e0c4164b6912ce9be97e29104d63d582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otto=20L=C3=A4nd?= Date: Tue, 29 Oct 2024 16:49:44 +0000 Subject: [PATCH] Bug 1927501: apply code formatting via Lando # ignore-this-changeset --- security/manager/ssl/nsNSSComponent.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/security/manager/ssl/nsNSSComponent.cpp b/security/manager/ssl/nsNSSComponent.cpp index ed15648dae2e..4fdc893d2c37 100644 --- a/security/manager/ssl/nsNSSComponent.cpp +++ b/security/manager/ssl/nsNSSComponent.cpp @@ -1308,14 +1308,14 @@ static nsresult GetNSSProfilePath(nsAutoCString& aProfilePath) { // |profilePath| is encoded in UTF-8. static nsresult AttemptToRenamePKCS11ModuleDB(const nsACString& profilePath) { nsCOMPtr profileDir; -#ifdef XP_WIN +# ifdef XP_WIN // |profilePath| is encoded in UTF-8 because SQLite always takes UTF-8 file // paths regardless of the current system code page. MOZ_TRY(NS_NewLocalFile(u""_ns, getter_AddRefs(profileDir))); MOZ_TRY(profileDir->InitWithPath(NS_ConvertUTF8toUTF16(profilePath))); -#else +# else MOZ_TRY(NS_NewNativeLocalFile(profilePath, getter_AddRefs(profileDir))); -#endif +# endif const char* moduleDBFilename = "pkcs11.txt"; nsAutoCString destModuleDBFilename(moduleDBFilename); destModuleDBFilename.Append(".fips");