Skip to content

Commit

Permalink
use correct file extension for preview htm
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Apr 10, 2012
1 parent 3d632ee commit c7957d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/session/modules/SessionHTMLPreview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class HTMLPreview : boost::noncopyable,

static FilePath createOutputFile()
{
return module_context::tempFile("html_preview", ".htm");
return module_context::tempFile("html_preview", "htm");
}

private:
Expand Down

0 comments on commit c7957d9

Please sign in to comment.