diff --git a/src/dialogs/load.c b/src/dialogs/load.c
index 9d4bfa6..ca5df1c 100644
--- a/src/dialogs/load.c
+++ b/src/dialogs/load.c
@@ -288,18 +288,18 @@ static void icon_press(GtkEntry *entry, G_GNUC_UNUSED GtkEntryIconPosition icon_
if(*error)
return;
- gboolean next = lib3270_paste_text(
+ int remains = lib3270_paste_text(
v3270_get_session(dialog->terminal),
(unsigned char *) converted
) ? TRUE : FALSE;
- debug("next=%s",next ? "YES" : "NO");
+ debug("next=%s",remains > 0 ? "YES" : "NO");
g_signal_emit(
dialog->terminal,
v3270_widget_signal[V3270_SIGNAL_PASTENEXT],
0,
- next
+ remains > 0
);
}
diff --git a/src/selection/text.c b/src/selection/text.c
index 164b4ce..b455a13 100644
--- a/src/selection/text.c
+++ b/src/selection/text.c
@@ -208,7 +208,7 @@ LIB3270_EXPORT void v3270_input_text(GtkWidget *widget, const gchar *text, const
}
// Do paste.
- gboolean next = lib3270_paste_text(
+ int remains = lib3270_paste_text(
v3270_get_session(widget),
(unsigned char *) buffer
) ? TRUE : FALSE;
@@ -217,7 +217,7 @@ LIB3270_EXPORT void v3270_input_text(GtkWidget *widget, const gchar *text, const
widget,
v3270_widget_signal[V3270_SIGNAL_PASTENEXT],
0,
- next
+ remains > 0
);
}
diff --git a/v3270.cbp b/v3270.cbp
index 3eff6c4..d8132e8 100644
--- a/v3270.cbp
+++ b/v3270.cbp
@@ -66,6 +66,9 @@
+
+
+
--
libgit2 0.21.2