summaryrefslogtreecommitdiffstats
path: root/printing/printing_context_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'printing/printing_context_win.cc')
-rw-r--r--printing/printing_context_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc
index 99232a9..6c49da2 100644
--- a/printing/printing_context_win.cc
+++ b/printing/printing_context_win.cc
@@ -284,7 +284,7 @@ PrintingContext::Result PrintingContext::NewDocument(
filename += document_name;
filename += L"_";
filename += L"buffer.prn";
- file_util::ReplaceIllegalCharacters(&filename, '_');
+ file_util::ReplaceIllegalCharactersInPath(&filename, '_');
file_util::AppendToPath(&debug_dump_path, filename);
di.lpszOutput = debug_dump_path.c_str();
}