typo in a patch

This commit is contained in:
Milan Crha 2010-01-13 18:07:46 +00:00
parent f1f28dada3
commit ebeca74cf6

View File

@ -18,7 +18,7 @@ index a289866..f783e6c 100644
+ * g_mkstemp(), which brings a small risk of overwriting another
* autosave file. The risk is, however, miniscule. */
- if (mktemp (path) == NULL) {
+ fd = g_mkstemp (path)
+ fd = g_mkstemp (path);
+ if (fd == -1) {
g_free (path);
return FALSE;