forked from AuroraMiddleware/gtk
Fix mistake in truncating length of text to MAX_SIZE. (Found by Padraig
Wed Oct 17 15:17:20 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.c (gtk_entry_real_insert_text): Fix mistake in truncating length of text to MAX_SIZE. (Found by Padraig O'Briain, #62055)
This commit is contained in:
parent
5d7d5eedd5
commit
2c281ef63b
@ -1,3 +1,9 @@
|
||||
Wed Oct 17 15:17:20 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_real_insert_text): Fix mistake
|
||||
in truncating length of text to MAX_SIZE. (Found by
|
||||
Padraig O'Briain, #62055)
|
||||
|
||||
Tue Oct 16 17:04:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c: Rename ACTIVATE_MNEMONIC enum to
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Oct 17 15:17:20 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_real_insert_text): Fix mistake
|
||||
in truncating length of text to MAX_SIZE. (Found by
|
||||
Padraig O'Briain, #62055)
|
||||
|
||||
Tue Oct 16 17:04:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c: Rename ACTIVATE_MNEMONIC enum to
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Oct 17 15:17:20 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_real_insert_text): Fix mistake
|
||||
in truncating length of text to MAX_SIZE. (Found by
|
||||
Padraig O'Briain, #62055)
|
||||
|
||||
Tue Oct 16 17:04:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c: Rename ACTIVATE_MNEMONIC enum to
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Oct 17 15:17:20 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_real_insert_text): Fix mistake
|
||||
in truncating length of text to MAX_SIZE. (Found by
|
||||
Padraig O'Briain, #62055)
|
||||
|
||||
Tue Oct 16 17:04:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c: Rename ACTIVATE_MNEMONIC enum to
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Oct 17 15:17:20 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_real_insert_text): Fix mistake
|
||||
in truncating length of text to MAX_SIZE. (Found by
|
||||
Padraig O'Briain, #62055)
|
||||
|
||||
Tue Oct 16 17:04:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c: Rename ACTIVATE_MNEMONIC enum to
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Oct 17 15:17:20 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_real_insert_text): Fix mistake
|
||||
in truncating length of text to MAX_SIZE. (Found by
|
||||
Padraig O'Briain, #62055)
|
||||
|
||||
Tue Oct 16 17:04:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c: Rename ACTIVATE_MNEMONIC enum to
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Oct 17 15:17:20 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_real_insert_text): Fix mistake
|
||||
in truncating length of text to MAX_SIZE. (Found by
|
||||
Padraig O'Briain, #62055)
|
||||
|
||||
Tue Oct 16 17:04:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c: Rename ACTIVATE_MNEMONIC enum to
|
||||
|
@ -1858,7 +1858,7 @@ gtk_entry_real_insert_text (GtkEditable *editable,
|
||||
else
|
||||
{
|
||||
entry->text_size = MAX_SIZE;
|
||||
new_text_length = entry->text_size - new_text_length - 1;
|
||||
new_text_length = entry->text_size - entry->n_bytes - 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user