vte r2242 - in trunk: . src



Author: behdad
Date: Mon Dec  1 02:29:33 2008
New Revision: 2242
URL: http://svn.gnome.org/viewvc/vte?rev=2242&view=rev

Log:
2008-11-30  Behdad Esfahbod  <behdad gnome org>

        * src/vteseq.c (_vte_sequence_get_handler),
        (display_control_sequence):
        Remove stale comment.



Modified:
   trunk/ChangeLog
   trunk/src/vteseq.c

Modified: trunk/src/vteseq.c
==============================================================================
--- trunk/src/vteseq.c	(original)
+++ trunk/src/vteseq.c	Mon Dec  1 02:29:33 2008
@@ -3905,19 +3905,19 @@
 #undef VTE_SEQUENCE_HANDLER
 
 static VteTerminalSequenceHandler
-_vte_sequence_get_handler (const char *code)
+_vte_sequence_get_handler (const char *name)
 {
-	int len = strlen (code);
+	int len = strlen (name);
 
 	if (G_UNLIKELY (len < 2)) {
 		return NULL;
 	} else if (len == 2) {
 		const struct vteseq_2_struct *seqhandler;
-		seqhandler = vteseq_2_lookup (code, 2);
+		seqhandler = vteseq_2_lookup (name, 2);
 		return seqhandler ? seqhandler->handler : NULL;
 	} else {
 		const struct vteseq_n_struct *seqhandler;
-		seqhandler = vteseq_n_lookup (code, len);
+		seqhandler = vteseq_n_lookup (name, len);
 		return seqhandler ? seqhandler->handler : NULL;
 	}
 }
@@ -3926,9 +3926,6 @@
 display_control_sequence(const char *name, GValueArray *params)
 {
 #ifdef VTE_DEBUG
-	/* Display the control sequence with its parameters, to
-	 * help me debug this thing.  I don't have all of the
-	 * sequences implemented yet. */
 	guint i;
 	long l;
 	const char *s;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]