search for: gtk_consol

Displaying 1 result from an estimated 1 matches for "gtk_consol".

Did you mean: gtk_console
2002 Jul 10
0
history patch (was Re: portable snprintf implementation)
...39;\n'); if ((add_to_history == TRUE) && (term_ptr != NULL) && (*text_chars != '\n')) ! { ! history_buf = g_malloc (term_ptr - text_chars + 1); ! *term_ptr = '\0'; ! strncpy (history_buf, text_chars, term_ptr - text_chars + 1); ! GTK_CONSOLE (object)->history = ! g_list_prepend (GTK_CONSOLE (object)->history, history_buf); ! GTK_CONSOLE (object)->history_num_items++; } g_free (text_chars); --- 299,329 ---- /* add command to history */ term_ptr = strchr (text_chars, '\n'); if ((add_to_hist...