fix bug identified by warnings I just added to gtktextbuffer

2001-06-14  Havoc Pennington  <hp@redhat.com>

	* demos/gtk-demo/main.c (load_file): fix bug identified by
	warnings I just added to gtktextbuffer
This commit is contained in:
Havoc Pennington
2001-06-14 22:29:48 +00:00
committed by Havoc Pennington
parent a002196773
commit c604648121
8 changed files with 36 additions and 1 deletions

View File

@ -491,7 +491,7 @@ load_file (const gchar *filename)
case 3:
/* Reading program body */
gtk_text_buffer_insert (source_buffer, &start, p, -1);
gtk_text_buffer_insert (info_buffer, &start, "\n", 1);
gtk_text_buffer_insert (source_buffer, &start, "\n", 1);
break;
}
}