summaryrefslogtreecommitdiff
path: root/xpcom/io/nsLocalFileWin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/io/nsLocalFileWin.cpp')
-rw-r--r--xpcom/io/nsLocalFileWin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xpcom/io/nsLocalFileWin.cpp b/xpcom/io/nsLocalFileWin.cpp
index 2ff05666b1..db1d646bf2 100644
--- a/xpcom/io/nsLocalFileWin.cpp
+++ b/xpcom/io/nsLocalFileWin.cpp
@@ -3564,7 +3564,7 @@ nsLocalFile::SetNativeLeafName(const nsACString& aLeafName)
NS_IMETHODIMP
nsLocalFile::GetNativePath(nsACString& aResult)
{
- //NS_WARNING("This API is lossy. Use GetPath !");
+ NS_WARNING("The GetNativePath API is lossy. Use GetPath!");
nsAutoString tmp;
nsresult rv = GetPath(tmp);
if (NS_SUCCEEDED(rv)) {
@@ -3578,7 +3578,7 @@ nsLocalFile::GetNativePath(nsACString& aResult)
NS_IMETHODIMP
nsLocalFile::GetNativeCanonicalPath(nsACString& aResult)
{
- NS_WARNING("This method is lossy. Use GetCanonicalPath !");
+ NS_WARNING("This method is lossy. Use GetCanonicalPath!");
EnsureShortPath();
NS_CopyUnicodeToNative(mShortWorkingPath, aResult);
return NS_OK;
@@ -3646,7 +3646,7 @@ nsLocalFile::GetNativeTarget(nsACString& aResult)
// Check we are correctly initialized.
CHECK_mWorkingPath();
- NS_WARNING("This API is lossy. Use GetTarget !");
+ NS_WARNING("This API is lossy. Use GetTarget!");
nsAutoString tmp;
nsresult rv = GetTarget(tmp);
if (NS_SUCCEEDED(rv)) {