fixing build bustage

git-svn-id: svn://10.0.0.236/trunk@221120 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pavlov%pavlov.net 2007-03-01 00:29:39 +00:00
parent 30e804bba0
commit fbcd4873af

View File

@ -442,7 +442,7 @@ NS_IMETHODIMP nsDeviceContextSpecGTK::GetSurfaceForPrinter(gfxASurface **aSurfac
printf("\"%s\", %d, %d\n", path, width, height);
nsCOMPtr<nsILocalFile> 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;