]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Modify a comment to try to remind myself that the &-in-session-names
authorSimon Tatham <anakin@pobox.com>
Tue, 13 Nov 2001 22:39:46 +0000 (22:39 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 13 Nov 2001 22:39:46 +0000 (22:39 +0000)
hack (to create accelerators on the System menu) should have some
official status.

[originally from svn r1381]

settings.c

index dbd745e6926a10c0c349fc78c69a12460d4ea5eb..267b46d60350355d8e1ea43718a4a8a682f5e1e6 100644 (file)
@@ -534,6 +534,10 @@ static int sessioncmp(const void *av, const void *bv)
        return -1;                     /* a comes first */
     if (!strcmp(b, "Default Settings"))
        return +1;                     /* b comes first */
+    /*
+     * FIXME: perhaps we should ignore the first & in determining
+     * sort order.
+     */
     return strcmp(a, b);              /* otherwise, compare normally */
 }