include our own header file. Minor cosmetics.

2006-10-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-text-console.c: include our own
	header file. Minor cosmetics.
This commit is contained in:
Michael Natterer 2006-10-30 20:14:00 +00:00 committed by Michael Natterer
parent 7c42c389df
commit bf36c38796
2 changed files with 14 additions and 9 deletions

View file

@ -1,3 +1,8 @@
2006-10-30 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-text-console.c: include our own
header file. Minor cosmetics.
2006-10-30 Sven Neumann <sven@gimp.org>
* app/config/gimpcoreconfig.c: changed default for

View file

@ -28,19 +28,20 @@
#include "libgimp/gimp.h"
#include "scheme-wrapper.h"
#include "script-fu-text-console.h"
#include "script-fu-intl.h"
static void script_fu_text_console_interface (void);
static void script_fu_text_console_interface (void);
void
script_fu_text_console_run (const gchar *name,
gint nparams,
const GimpParam *params,
gint *nreturn_vals,
GimpParam **return_vals)
gint nparams,
const GimpParam *params,
gint *nreturn_vals,
GimpParam **return_vals)
{
static GimpParam values[1];
@ -62,15 +63,14 @@ script_fu_text_console_run (const gchar *name,
static gboolean
read_command (GString *command)
{
guchar c;
gint next;
gint level = 0;
gint next;
gint level = 0;
g_string_truncate (command, 0);
while ((next = fgetc (stdin)) != EOF)
{
c = (guchar) next;
guchar c = (guchar) next;
switch (c)
{