From fbcd4873af3bb8a3fcbd647c7e4059273814ee5c Mon Sep 17 00:00:00 2001 From: "pavlov%pavlov.net" Date: Thu, 1 Mar 2007 00:29:39 +0000 Subject: [PATCH] fixing build bustage git-svn-id: svn://10.0.0.236/trunk@221120 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/gtk2/nsDeviceContextSpecG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/widget/src/gtk2/nsDeviceContextSpecG.cpp b/mozilla/widget/src/gtk2/nsDeviceContextSpecG.cpp index 2fc214ab29c..19bb0cb67df 100644 --- a/mozilla/widget/src/gtk2/nsDeviceContextSpecG.cpp +++ b/mozilla/widget/src/gtk2/nsDeviceContextSpecG.cpp @@ -442,7 +442,7 @@ NS_IMETHODIMP nsDeviceContextSpecGTK::GetSurfaceForPrinter(gfxASurface **aSurfac printf("\"%s\", %d, %d\n", path, width, height); nsCOMPtr file = do_CreateInstance("@mozilla.org/file/local;1"); - nsresult rv = file->InitWithPath(NS_ConvertUTF8toUTF16(filename)); + nsresult rv = file->InitWithPath(NS_ConvertUTF8toUTF16(path)); if (NS_FAILED(rv)) return rv;