Removed a bit of junk

master
Yevgen Muntyan 2006-04-05 15:29:45 -05:00
parent 4448f204ab
commit 40faa284ba
1 changed files with 1 additions and 7 deletions

View File

@ -643,7 +643,6 @@ do_write (MooEdit *edit,
{
gsize written;
GtkTextIter line_end = line_start;
gboolean write_line_end = FALSE;
if (!gtk_text_iter_ends_line (&line_start))
{
@ -665,12 +664,7 @@ do_write (MooEdit *edit,
}
}
if (gtk_text_iter_ends_line (&line_start))
write_line_end = !gtk_text_iter_is_end (&line_start);
else
write_line_end = !gtk_text_iter_is_end (&line_end);
if (write_line_end)
if (!gtk_text_iter_is_end (&line_end))
{
status = g_io_channel_write_chars (file, le, le_len, &written, error);