Commit eb8a9431 authored by Andre Miranda's avatar Andre Miranda Committed by Landry Breuil

Fix revert file

parent c15a1b2c
......@@ -863,7 +863,7 @@ mousepad_file_reload (MousepadFile *file,
GError **error)
{
GtkTextIter start, end;
gboolean succeed = FALSE;
gint succeed;
g_return_val_if_fail (MOUSEPAD_IS_FILE (file), FALSE);
g_return_val_if_fail (GTK_IS_TEXT_BUFFER (file->buffer), FALSE);
......@@ -887,7 +887,7 @@ mousepad_file_reload (MousepadFile *file,
/* reload the file */
succeed = mousepad_file_open (file, NULL, error);
return succeed;
return (succeed == 0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment