mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 10:47:58 +01:00
Fix temporary file filename extensions and host annotation.
Fixes issue #791.
This commit is contained in:
@@ -470,7 +470,7 @@ var Editor = Module("editor", XPCOM(Ci.nsIEditActionListener, ModuleBase), {
|
||||
}
|
||||
|
||||
try {
|
||||
var tmpfile = io.createTempFile();
|
||||
var tmpfile = io.createTempFile("txt", "." + buffer.uri.host);
|
||||
if (!tmpfile)
|
||||
throw Error(_("io.cantCreateTempFile"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user